CN111078275B - Resource allocation method, device, storage medium and server - Google Patents

Resource allocation method, device, storage medium and server Download PDF

Info

Publication number
CN111078275B
CN111078275B CN201911299382.1A CN201911299382A CN111078275B CN 111078275 B CN111078275 B CN 111078275B CN 201911299382 A CN201911299382 A CN 201911299382A CN 111078275 B CN111078275 B CN 111078275B
Authority
CN
China
Prior art keywords
configuration
target
identifier
item
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911299382.1A
Other languages
Chinese (zh)
Other versions
CN111078275A (en
Inventor
张燕香
崔书中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JRD Communication Shenzhen Ltd
Original Assignee
JRD Communication Shenzhen Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Priority to CN201911299382.1A priority Critical patent/CN111078275B/en
Publication of CN111078275A publication Critical patent/CN111078275A/en
Application granted granted Critical
Publication of CN111078275B publication Critical patent/CN111078275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

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 allocation method, a device, a storage medium and a server, wherein a terminal allocation request is acquired, the terminal allocation request carries a first target operator identifier and basic information of a project to be allocated, target allocation data is determined from a resource allocation database according to the basic information and the first target operator identifier, a configuration data packet is generated according to the target allocation data, and then the configuration data packet is sent to terminal equipment, so that the terminal equipment performs resource allocation of the project to be allocated according to the configuration data packet, thereby providing online personalized allocation service of a terminal for a user, and the terminal equipment does not need to return to a factory to update the configuration, thereby having strong practicability and high flexibility.

Description

Resource allocation method, device, storage medium and server
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and apparatus for configuring resources, a storage medium, and a server.
Background
Currently, mobile phone market competition is intense, mobile phone customization has become one of the main means for operators to conduct differentiated brands and services, and in order to meet different customization demands of each operator, more and more developers split software into main software and customized software, so that customizable resources such as on-off animation, ringtones, pictures, built-in APKs (android application packages) and the like are separated.
With the penetration of internationalization, competition is more and more, mobile phone products are more and more, the frequency of software release is gradually increased, and how to quickly, efficiently and conveniently customize personalized resources of mobile phones is a problem to be discussed.
Disclosure of Invention
The embodiment of the application provides a resource allocation method, a device, a storage medium and a server, which can provide online personalized allocation 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 a project 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.
The embodiment of the application also provides a resource allocation device which is applied to the server and comprises the following components:
the terminal configuration module is used for acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of a project to be configured;
The determining module is used for determining target configuration data from a resource configuration database according to the basic information and the first target operator identification;
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 can carry out resource configuration of the item to be configured according to the configuration data packet.
The basic information comprises an item identifier and an item version number, and the determining module is specifically configured to:
determining a project configuration list corresponding to the project identifier and the project 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.
Wherein the resource configuration device further comprises a creation module for:
before target configuration data is determined from a resource configuration database according to the basic information and a first target operator identifier, providing a resource customization interface for a user so that the user performs 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 of a corresponding operator and a corresponding configuration item according to the editing operation and a preset scripting language;
and creating a resource configuration database according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration item.
Wherein the resource allocation device further comprises a modification module for:
after a resource configuration database is created according to the configuration data, the operator identifier of the corresponding operator and the corresponding configuration item, a configuration data modification request is obtained, wherein the configuration data modification request carries the user identifier of the requesting user, the second target operator identifier and the target item identifier;
determining the modification authority of the request 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 item identifier.
Wherein, this modification module is specifically used for:
determining at least one item identifier and at least one operator identifier corresponding to the modification authority;
providing a modification interface of corresponding configuration data when the at least one item identifier comprises the target item identifier and the at least one operator identifier comprises the second target operator identifier; 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 item identifier comprises the target item identifier and/or the at least one operator identifier comprises the second target operator identifier, displaying a popup window, wherein the popup window is used for prompting a user to have no modification permission.
Embodiments of the present application also provide a computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform any of the above-described resource allocation methods.
The embodiment of the application also provides a server, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in the resource configuration method.
According to the resource configuration method, the device, the storage medium and the server, the terminal configuration request is obtained, the terminal configuration request carries the first target operator identifier and the basic information of the item to be configured, then the target configuration data is determined from the resource configuration database according to the basic information and the first target operator identifier, the configuration data packet is generated according to the target configuration data, and then 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, and accordingly 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 to achieve configuration updating, the practicability is strong, the application range is wide, and the flexibility is high.
Drawings
The technical solution and other advantageous effects of the present application will be made apparent by the following detailed description of the specific embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flow chart of a resource allocation method according to an embodiment of the present application.
Fig. 2 is a schematic operation flow chart of a configuration data generation process according to an embodiment of the present application.
Fig. 3 is another flow chart of a resource allocation method according to an embodiment of the present application.
Fig. 4 is an application scenario schematic diagram of a resource allocation apparatus according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a frame structure of a resource allocation device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a resource allocation device 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 following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The resource allocation method is applied to a server and used for acquiring a terminal allocation request, wherein the terminal allocation request carries a first target operator identifier and basic information of items to be allocated; determining target configuration data from a resource configuration database according to the basic information and the first target operator identification; 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 flow chart of a resource allocation method provided by an embodiment of the present application, where the resource allocation method is applied to a server, and the server may be a customization system server that provides personalized resource customization operation for a terminal, and the customization system server may be an integration of a plurality of servers, and a specific flow of the resource allocation method may be as follows:
s101, acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of items to be configured.
Wherein the first target operator identity may be a brand operator name, such as hua-ji, apple, etc., for uniquely identifying 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 to describe the type and version of the item to be configured. Specifically, the user may enter a home page (such as a resource customization interface) of the customization system server through the terminal device, and input relevant information of the brand operator and the configuration item required to be customized 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 in this case, step S102 may specifically include:
determining a project configuration list corresponding to the project identifier and the project 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.
Wherein the item identification is used to uniquely identify a configuration item, which may be an item name such as a power on/off animation. The item version number is an identification number of a version, which typically varies with the version of the system, each configuration item having at least one version number, the same configuration item possibly having different configuration data under different version numbers.
Specifically, a project configuration list of configuration projects and project versions, which the user wants to customize individually, may be determined from the resource configuration database, where the project configuration list may include configuration data of each brand operator for the project configuration, 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 configuration data. For example, configuration data of the 8.6 version of the startup animation of the apple phone can be obtained from a resource configuration database.
It should be noted that, in addition to the above-mentioned matching sequence of performing data matching according to the item identifier and the item version number first, and then performing data matching according to the operator identifier to obtain the target configuration data, data matching may be performed according to the operator identifier first, and then performing data matching according to the item identifier and the item version number, or data matching may also be performed according to the item identifier, the item version number, and the operator identifier at the same time.
It is easy to understand 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 so that the user can 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 operators and corresponding configuration items according to the editing operation and a preset scripting 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 script language may be a python language set by a person. Referring to fig. 2, a user may enter a resource customization interface provided by a customization system server, an editing entry on the resource customization interface may be expressed in text form, for example, "customization", the user may enter a corresponding editing interface by clicking the editing entry, and perform editing operation on the editing interface, where the editing interface may include a selection window of a brand operator and a selection window of a configuration item, the user may perform 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.
In addition, after the resource configuration database is created, the related personnel can 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 can further include:
acquiring a configuration data modification request, wherein the configuration data modification request carries a user identifier of a request user, a second target operator identifier and a target item identifier;
determining the modification authority of the request 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 item identifier.
In this embodiment, the user identifier is used to uniquely identify the user, which may be a user account. The modification rights are set manually, and different users have different modification rights, for example, apple system merchants can only modify and edit data for relevant configuration items of the apple system mobile phone. Specifically, the user can log in the customization system first, trigger and generate a configuration data modification request through a certain key of the system home page to enter the modification interface home page, and then select configuration item data of the brand operator to be modified on the modification interface home page for modification.
Wherein the modifying the resource configuration database according to the modification rights, the second target operator identity and the target item identity comprises:
determining at least one item identifier and at least one operator identifier corresponding to the modification authority;
providing a modification interface of corresponding configuration data when the at least one item identifier includes the target item identifier and the at least one operator identifier includes the second target operator identifier; acquiring modification operation of a user on the modification interface, and updating corresponding configuration data according to the modification operation;
and displaying a popup window for prompting the user of no modification permission when the target item identifier is included in the at least one item identifier and/or the second target operator identifier is included in the at least one operator identifier.
In this embodiment, the home page of the modification interface may include entries of modification interfaces of each brand operator and each configuration item, when the user has modification rights of the corresponding configuration item and the brand operator, the portal of the corresponding modification interface may be entered, and modification contents may be input by text, voice, or the like, so as to perform modification operation, and when the user does not have modification rights of the corresponding configuration item and the brand operator, the server may display a pop-up window to inform the user that the user does not have modification rights, so that the user gives up modification or performs modification through other user accounts.
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.
S104, 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.
For example, the terminal device may update parameters of configuration items such as system application, browser home page, bookmark, wallpaper, screen locking, bell sound, and power on/off animation according to the configuration data packet sent by the server, so as to implement resource configuration.
As can be seen from the foregoing, the resource allocation method provided in this embodiment is applied to a server, by obtaining a terminal allocation request, where the terminal allocation request carries a first target operator identifier and basic information of a to-be-allocated item, then determining target allocation data from a resource allocation database according to the basic information and the first target operator identifier, generating a configuration data packet according to the target allocation data, and then sending the configuration data packet to a terminal device, so that the terminal device performs resource allocation of the to-be-allocated item according to the configuration data packet, thereby providing online personalized allocation service for a user, and the terminal device does not need to return to a factory to re-use to implement allocation update.
According to the method described in the above embodiment, the present application further provides another resource allocation method, which is applied to a system server, as shown in fig. 3, and the specific flow of the resource allocation method may be as follows:
s201, providing a resource customization interface for a user so that the user can 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.
S202, generating configuration data corresponding to operators and corresponding configuration items according to the editing operation and a preset scripting 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, 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 in the resource configuration database. The terminal equipment can comprise user equipment such as mobile phones, computers and the like. When a user enters a resource customization interface, the user can enter a corresponding editing interface provided by a compiling server by clicking an editing inlet on the resource customization interface, editing operation is performed on the editing interface, the editing interface can comprise 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 edited configuration data can be stored in a resource configuration database in a data storage server.
S204, acquiring a configuration data modification request, wherein the configuration data modification request carries a user identifier of a request user, a second target operator identifier and a target item identifier.
S205, determining the modification authority of the request 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 item identifier comprises the target item identifier and the at least one operator identifier comprises the second target operator identifier, 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 at least one item identifier comprises the target item identifier and/or the at least one operator identifier comprises the second target operator identifier, displaying a popup window, wherein the popup window is used for prompting a user that no modification permission exists.
For example, the user may first log in to the customization system, trigger to generate a configuration data modification request through a key of the system home page, so as to enter the modification interface home page, and then select configuration item data of the brand operator to be modified on the modification interface home page for modification. For example, apple system manufacturers may modify relevant configuration parameters of the apple phone system in the resource configuration database, such as modifying 8.6 version of the startup animation of the apple system.
S208, acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of a project to be configured.
S209, determining a project configuration list corresponding to the project identifier and the project version number from the resource configuration database, acquiring data corresponding to the first target operator identifier from the project 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, so as to realize synchronization of 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 corresponding operations on the resource customization interface to trigger and generate 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 allocation apparatus, which may be implemented as a separate entity.
Referring to fig. 6, fig. 6 specifically illustrates a resource allocation apparatus provided in an embodiment of the present application, 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, wherein the terminal configuration request carries a first target operator identifier and basic information of a project to be configured.
Wherein the first target operator identity may be a brand operator name, such as hua-ji, apple, etc., for uniquely identifying 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 to describe the type and version of the item to be configured. Specifically, the user may enter a home page (such as a resource customization interface) of the customization system server through the terminal device, and input relevant information of the brand operator and the configuration item required to be customized through an input window in the home page.
(2) Determination module 20
A determining module 20 is configured to determine target configuration data from the resource configuration database based on the basic information and the first target operator identity.
Wherein the basic information includes an item identifier and an item version number, the determining module 20 is specifically configured to:
determining a project configuration list corresponding to the project identifier and the project 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.
Wherein the item identification is used to uniquely identify a configuration item, which may be an item name such as a power on/off animation. The item version number is an identification number of a version, which typically varies with the version of the system, each configuration item having at least one version number, the same configuration item possibly having different configuration data under different version numbers.
Specifically, a project configuration list of configuration projects and project versions, which the user wants to customize individually, may be determined from the resource configuration database, where the project configuration list may include configuration data of each brand operator for the project configuration, 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 configuration data. For example, configuration data of the 8.6 version of the startup animation of the apple phone can be obtained from a resource configuration database.
It should be noted that, in addition to the above-mentioned matching sequence of performing data matching according to the item identifier and the item version number first, and then performing data matching according to the operator identifier to obtain the target configuration data, data matching may be performed according to the operator identifier first, and then performing data matching according to the item identifier and the item version number, or data matching may also be performed according to the item identifier, the item version number, and the operator identifier at the same time.
It will be readily appreciated that the resource configuration database should be created in advance, i.e. please refer to fig. 7, the resource configuration device further comprises a creation module 50 for:
before target configuration data is determined from a resource configuration database according to the basic information and the first target operator identification, providing a resource customization interface for a user so that the user can 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 operators and corresponding configuration items according to the editing operation and a preset scripting 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 script language may be a python language set by a person. Referring to fig. 2, a user may enter a resource customization interface provided by a customization system server, an editing entry on the resource customization interface may be expressed in text form, for example, "customization", the user may enter a corresponding editing interface by clicking the editing entry, and perform editing operation on the editing interface, where the editing interface may include a selection window of a brand operator and a selection window of a configuration item, the user may perform 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.
Furthermore, after the resource configuration database is created, the relevant personnel may update the data therein, i.e. the resource configuration device further comprises a modification module 60 for:
after a resource configuration database is created according to the configuration data, the operator identifier of the corresponding operator and the corresponding configuration item, a configuration data modification request is acquired, wherein the configuration data modification request carries the user identifier of the requesting user, the second target operator identifier and the target item identifier;
Determining the modification authority of the request 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 item identifier.
In this embodiment, the user identifier is used to uniquely identify the user, which may be a user account. The modification rights are set manually, and different users have different modification rights, for example, apple system merchants can only modify and edit data for relevant configuration items of the apple system mobile phone. Specifically, the user can log in the customization system first, trigger and generate a configuration data modification request through a certain key of the system home page to enter the modification interface home page, and then select configuration item data of the brand operator to be modified on the modification interface home page for modification.
Wherein, this modification module is specifically used for:
determining at least one item identifier and at least one operator identifier corresponding to the modification authority;
providing a modification interface of corresponding configuration data when the at least one item identifier includes the target item identifier and the at least one operator identifier includes the second target operator identifier; acquiring modification operation of a user on the modification interface, and updating corresponding configuration data according to the modification operation;
And displaying a popup window for prompting the user of no modification permission when the target item identifier is included in the at least one item identifier and/or the second target operator identifier is included in the at least one operator identifier.
In this embodiment, the home page of the modification interface may include entries of modification interfaces of each brand operator and each configuration item, when the user has modification rights of the corresponding configuration item and the brand operator, the portal of the corresponding modification interface may be entered, and modification contents may be input by text, voice, or the like, so as to perform modification operation, and when the user does not have modification rights of the corresponding configuration item and the brand operator, the server may display a pop-up window to inform the user that the user does not have modification rights, so that the user gives up modification or performs modification through other user accounts.
(3) Generating 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) Transmitting module 40
And a sending module 40, configured to send 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.
For example, the terminal device may update parameters of configuration items such as system application, browser home page, bookmark, wallpaper, screen locking, bell sound, and power on/off animation according to the configuration data packet sent by the server, so as to implement resource configuration.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the foregoing, the resource configuration device provided in this embodiment is applied to a server, and the obtaining module 10 obtains a terminal configuration request, where the terminal configuration request carries a first target operator identifier and basic information of a to-be-configured item, 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 to-be-configured item according to the configuration data packet, thereby providing online personalized configuration service of a terminal for a user, and the terminal device does not need to return to a factory to refresh to achieve configuration update.
In addition, the embodiment of the application also provides a server which can be a custom 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, and performs various functions of the server and processes data by running or loading application programs 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 include a system partition and a target partition, the processor 201 in the server 200 loads instructions corresponding to the processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 executes 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 a project to be configured;
determining target configuration data from a resource configuration database according to the basic information and the first target operator identification;
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 application also provides a server, as shown in fig. 9, which shows a schematic structural diagram of the server according to the embodiment of the application, specifically:
the server may include one or more processor cores 401, one or more computer-readable storage media memory 402, 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 is not limiting of the server and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 401 is a control center of the server, connects respective portions 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 and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. 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 executing the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the server, etc. In addition, 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 with access to the memory 402.
The RF circuit 403 may be used for receiving and transmitting signals during the process of receiving and transmitting information, in particular, after receiving downlink information of the base station, the downlink information is processed by one or more processors 401; in addition, data relating to uplink is transmitted to the base station. Typically, 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, low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 403 may also communicate with networks and other devices through wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (GSM, global System of Mobile communication), general packet radio service (GPRS, general Packet Radio Service), code division multiple access (CDMA, code Division Multiple Access), wideband code division multiple access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), email, short message service (SMS, short Messaging Service), 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 that performs functions such as managing charge, discharge, and power consumption. The power supply 404 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The server may further comprise an input unit 405, which input unit 405 may be used for receiving input numeric or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control. In particular, in one particular embodiment, the 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 thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 401, and can receive and execute commands sent from the processor 401. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. The input unit 405 may comprise other input devices in addition to a 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, mouse, joystick, etc.
The server may also include a display unit 406, which display unit 406 may be used to display information entered by or provided to a user as well as various graphical user interfaces of the server, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 406 may include a display panel, which may optionally be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed to the processor 401 to determine the type of touch event, and the processor 401 then provides a corresponding visual output on the display panel in accordance with the type of touch event. Although in fig. 9 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
Although not shown, the server may further include a camera, a bluetooth module, etc., which will not be described herein. In this embodiment, the processor 401 in the server loads executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions as follows:
Acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of a project to be configured;
determining target configuration data from a resource configuration database according to the basic information and the first target operator identification;
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 the implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or several entities, and the implementation of each module may be referred to the foregoing method embodiment, which is not described herein again.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present invention provides a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any 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, random Access Memory), magnetic or optical disk, and the like.
The steps in any resource allocation method provided by the embodiment of the present application can be executed by the instructions stored in the storage medium, so that the beneficial effects that any resource allocation method provided by the embodiment of the present application can be achieved, and detailed descriptions of the foregoing embodiments are omitted herein.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
In summary, although the present application has been described in terms of the preferred embodiments, the preferred embodiments are not limited to the above embodiments, and various modifications and changes can be made by one skilled in the art without departing from the spirit and scope of the application, and the scope of the application is defined by the appended claims.

Claims (8)

1. A resource allocation method applied to a server, comprising:
acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of a project 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;
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;
acquiring a configuration data modification request, wherein the configuration data modification request carries a user identifier of a request user, a second target operator identifier and a target item identifier;
determining the modification authority of the request user according to the user identification;
modifying the resource configuration database according to the modification authority, the second target operator identifier and the target item identifier, and automatically updating the terminal equipment according to the modified resource configuration database; the method specifically comprises the following steps: determining at least one item identifier and at least one operator identifier corresponding to the modification authority; providing a modification interface of corresponding configuration data when the at least one item identifier comprises the target item identifier and the at least one operator identifier comprises the second target operator identifier; 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 item identifier comprises the target item identifier and/or the at least one operator identifier comprises the second target operator identifier, displaying a popup window, wherein the popup window is used for prompting a user to have no modification permission.
2. The resource allocation method according to claim 1, wherein the basic information includes an item identification and an item version number, and wherein determining target configuration data from a resource configuration database based on the basic information and a first target operator identification comprises:
determining a project configuration list corresponding to the project identifier and the project 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.
3. The resource allocation method according to claim 2, further comprising, prior to determining target configuration data from a resource configuration database based on the base information and a first target operator identification:
providing a resource customization interface for a user so that the user performs 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 of a corresponding operator and a corresponding configuration item according to the editing operation and a preset scripting language;
and creating a resource configuration database according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration item.
4. A resource allocation apparatus for use with a server, comprising:
the terminal configuration module is used for acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of a project to be configured;
the determining module is used for determining target configuration data from a resource configuration database according to the basic information and the first target operator identification;
the generating module is used for generating a configuration data packet according to the target configuration data;
the sending module is used for sending the configuration data packet to the terminal equipment so that the terminal equipment can perform resource configuration of the item to be configured according to the configuration data packet; acquiring a configuration data modification request, wherein the configuration data modification request carries a user identifier of a request user, a second target operator identifier and a target item identifier; determining the modification authority of the request user according to the user identification; modifying the resource configuration database according to the modification authority, the second target operator identifier and the target item identifier, and automatically updating the terminal equipment according to the modified resource configuration database; the method specifically comprises the steps of determining at least one item identifier and at least one operator identifier corresponding to the modification authority; providing a modification interface of corresponding configuration data when the at least one item identifier comprises the target item identifier and the at least one operator identifier comprises the second target operator identifier; 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 item identifier comprises the target item identifier and/or the at least one operator identifier comprises the second target operator identifier, displaying a popup window, wherein the popup window is used for prompting a user to have no modification permission.
5. The resource allocation apparatus according to claim 4, wherein the basic information comprises an item identification and an item version number, and the determining module is specifically configured to:
determining a project configuration list corresponding to the project identifier and the project 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.
6. The resource allocation apparatus according to claim 5, further comprising a creation module for:
before target configuration data is determined from a resource configuration database according to the basic information and a first target operator identifier, providing a resource customization interface for a user so that the user performs 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 of a corresponding operator and a corresponding configuration item according to the editing operation and a preset scripting language;
and creating a resource configuration database according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration item.
7. A computer readable storage medium, characterized in that the storage medium has stored therein a plurality of instructions adapted to be loaded by a processor to perform the resource allocation method of any of claims 1 to 3.
8. A server comprising a processor and a memory, the processor being electrically connected to the memory, the memory being for storing instructions and data, the processor being for performing the steps of the resource allocation method of any one of claims 1 to 3.
CN201911299382.1A 2019-12-17 2019-12-17 Resource allocation method, device, storage medium and server Active CN111078275B (en)

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 CN111078275A (en) 2020-04-28
CN111078275B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585810B (en) * 2020-05-06 2023-03-24 上海闻泰电子科技有限公司 Operator parameter file customization method, customization device and readable storage medium
CN112000391B (en) * 2020-08-03 2023-05-12 浙江口碑网络技术有限公司 Configuration processing method and system
CN114339442B (en) * 2021-12-31 2023-11-07 北京达佳互联信息技术有限公司 Method and device for configuring multimedia channels, electronic equipment and storage medium
CN114996162B (en) * 2022-07-15 2022-12-23 荣耀终端有限公司 Test method and related device

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN111078275A (en) 2020-04-28

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
US10754633B2 (en) Application installation package generation method and apparatus, and storage medium
EP3174253B1 (en) Message withdrawal method and apparatus, computer program and recording medium
CN106095458B (en) The management method and device of plug-in unit in a kind of application program
US10652287B2 (en) Method, device, and system for managing information recommendation
CN108255683B (en) Method for prompting message in terminal and terminal
CN103544033A (en) Method, device and associated equipment for rolling back application program
CN112579264B (en) Application program jumping method, terminal and computer storage medium
US9742900B2 (en) Method, terminal device and storage medium for displaying information
CN106250122B (en) Information prompting method and device
CN110442426B (en) Password resetting method, device and storage medium
CN106713608B (en) Application function state modification method and device and terminal
CN112399006B (en) File sending method and device and electronic equipment
CN106953898B (en) Method and device for acquiring software package
CN108182090B (en) Flash plug-in loading method and device based on blink kernel
CN107465646B (en) A kind of application method for down loading, system and relevant device
CN106095423B (en) Method, terminal and server for providing browsing service
CN113836089A (en) Application program display method and device, electronic equipment and readable storage medium
CN106708501B (en) Activity monitoring method and device
CN105553718A (en) Method and device for displaying guidance information
CN110430252B (en) Resource data processing method and device, equipment and readable storage medium
CN112311818B (en) Method, device, terminal and storage medium for downloading applet data packet
CN113721936B (en) Application management method, intelligent terminal, device and storage medium
CN106933626B (en) Application association method and device

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