CN112286552B - Task creation method and device, electronic equipment and storage medium - Google Patents
Task creation method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112286552B CN112286552B CN202011139797.5A CN202011139797A CN112286552B CN 112286552 B CN112286552 B CN 112286552B CN 202011139797 A CN202011139797 A CN 202011139797A CN 112286552 B CN112286552 B CN 112286552B
- Authority
- CN
- China
- Prior art keywords
- task
- task creation
- target resource
- resource package
- creation
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
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)
- Stored Programmes (AREA)
Abstract
The application discloses a task creation method, a task creation device, electronic equipment and a storage medium, and relates to the technical field of firmware upgrading. The specific implementation scheme is as follows: determining a target resource package file required by a task to be created according to a target resource package address carried in the task creation request; determining task parameters required by a task to be created according to a target resource packet address and target equipment identification information carried in the task creation request; and calling a task creation interface, and creating a firmware upgrading task according to the target resource package file and the task parameter, wherein the firmware upgrading task is used for upgrading the target equipment. The task creation efficiency and accuracy are improved, and a new idea is provided for creating firmware upgrading tasks.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a firmware upgrade technology, and in particular, to a task creation method, a device, an electronic device, and a storage medium.
Background
With the development of computer technology, firmware of terminal devices (including but not limited to various mobile phones, tablets, smart speakers, vehicle-mounted devices, etc.) is updated more and more frequently. The firmware upgrade and update of the terminal equipment requires a service platform, such as an OTA (Over-the-Air Technology) platform, to push an upgrade task, and the terminal equipment can download and install after detecting the upgrade task so as to achieve the effect of firmware upgrade and update. However, in the current process of creating a firmware upgrade task pushed to a terminal device, a user is required to manually fill in task parameters according to actual requirements, which is inefficient, and the created upgrade task may not be in line with the actual requirements of the user, which is needed to be improved.
Disclosure of Invention
The disclosure provides a task creation method, a task creation device, electronic equipment and a storage medium.
According to an aspect of the present disclosure, there is provided a task creation method including:
determining a target resource package file required by a task to be created according to a target resource package address carried in the task creation request;
determining task parameters required by a task to be created according to a target resource packet address and target equipment identification information carried in the task creation request;
and calling a task creation interface, and creating a firmware upgrading task according to the target resource package file and the task parameter, wherein the firmware upgrading task is used for upgrading the target equipment.
According to another aspect of the present disclosure, there is provided a task creation device including:
the file determining module is used for determining a target resource package file required by a task to be created according to a target resource package address carried in the task creating request;
the task parameter determining module is used for determining task parameters required by a task to be created according to the target resource packet address and the target equipment identification information carried in the task creation request;
the task creation module is used for calling a task creation interface, creating a firmware upgrading task according to the target resource package file and the task parameters, and carrying out firmware upgrading on the target equipment.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the task creation method described in any of the embodiments of the present application.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the task creation method according to any of the embodiments of the present application.
According to the technology, the task creation efficiency and accuracy are improved, and a new idea is provided for creating firmware upgrading tasks.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for better understanding of the present solution and do not constitute a limitation of the present application. Wherein:
FIG. 1 is a flow chart of a task creation method provided in accordance with an embodiment of the present application;
FIG. 2 is a flow chart of another task creation method provided in accordance with an embodiment of the present application;
FIG. 3 is a flow chart of yet another task creation method provided in accordance with an embodiment of the present application;
FIG. 4 is a schematic diagram of a task creation device provided according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device used to implement the task creation method of an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a flowchart of a task creation method provided according to an embodiment of the present application. The embodiment of the application is suitable for the situation of how to create firmware upgrade tasks. The embodiment may be performed by a task creation means, which may be implemented in software and/or hardware, alternatively a task creation aid (which may be an application or a web page, for example) that may be integrated in an electronic device. As shown in fig. 1, the task creation method includes:
s101, determining a target resource package file required by a task to be created according to a target resource package address carried in the task creation request.
In this embodiment, the task creation request may be a request sent by the user to the task creation aid when having a firmware upgrade task creation requirement. For example, the user may log in on a login interface provided by the task creation assistance tool, if the login is successful, the user may input a target resource package address and target device identification information in a task creation interface (for example, a visual chat interface) provided by the task creation assistance tool, so as to trigger generation of a task creation request, and the task creation assistance tool may acquire the task creation request of the user. For another example, if the user is not registered in the task creation aid, the user needs to complete registration according to the registration instruction provided by the task creation aid, so as to become the user of the task creation aid. It is to be understood that the users in this application are primarily directed to research and development personnel, testers, and the like.
Optionally, the task creation request may include a target resource packet address, target device identification information, and the like. The device identification information may be a character string for uniquely identifying a certain terminal device or a certain class of terminal devices (such as various mobile phones, tablets, smart speakers, and vehicle-mounted devices), and may be, for example, a Serial Number (SN). Correspondingly, the target device identification information may be SN of the target device. The target device in this embodiment may be a terminal device that is set by the user to be capable of performing firmware upgrade using the target resource package file.
The resource package file may also be called an upgrade resource package file, may be a differential package file, and may also be an APK package file (Android application package ) for performing firmware upgrade on the terminal device. Specifically, the target resource package file in this embodiment is the resource package file required for creating the firmware upgrade task. Further, the address of the target resource package file required by the user for storing the task to be created is the target resource package address.
The target resource package address specifically may be a physical storage address of the target resource package, such as a specific storage space in the computing device of the user, so that the task creation auxiliary tool may acquire a target resource package file required by the task to be created from the target resource package address by establishing communication connection with the computing device of the user; furthermore, the target resource package address may also be a link address of the target resource package, and further, the task creation auxiliary tool may directly determine, according to the target resource package address, a target resource package file required for the task to be created. In order to improve the task creation efficiency, the target resource packet address in this embodiment is preferably the link address of the target resource packet.
In addition, it is understood that for the same terminal device or the same class of terminal devices, the user may develop one or more resource package files for the terminal device to perform firmware upgrade. Alternatively, the user, when having a need to create multiple firmware upgrade tasks for the target device, may enter priorities at the task creation aid to define the order of the target device upgrades by priority. And the task creation request can also carry priority, so that the flexibility of the scheme is further improved, and the experience of a user is improved.
S102, determining task parameters required by the task to be created according to the target resource packet address and the target equipment identification information carried in the task creation request.
In this embodiment, the task parameters are information required for creating a task, and may include a task name, a target resource package version number, a product line id, a task id, a target resource package type, and the like.
Optionally, in this embodiment, the destination resource packet address is preferably a link address of the destination resource packet written by the user according to the set address protocol. Further, the destination resource packet address may include a destination resource packet name, a destination resource packet version number, a destination resource packet type, and a signature value (such as an MD5 value), etc.
Further, after the task creation auxiliary tool automatically acquires the task creation request, a set address resolution algorithm may be adopted to analyze a target resource packet address carried in the task creation request, relevant information of a target resource packet may be acquired (for example, the relevant information may include a target resource packet name, a target resource packet version number, a target resource packet type, a signature value, etc.), and corresponding product lines may be automatically matched according to the relevant information of the target resource packet and the target equipment identification information, so that relevant information of the product lines may be obtained (for example, product line ids may be included); furthermore, the task creation auxiliary tool can also control the file processing server to analyze the target resource package file after downloading the target resource package file according to the target resource package address, determine other relevant information (such as the size of the target resource package file, the function description of the target resource package, etc.) of the target resource package file, and feed back the information; and the task creation auxiliary tool can use the target equipment identification information, the acquired related information of all target resource packages and the product line related information as task parameters required by the task to be created.
In the existing firmware upgrading task creation process, a user is required to manually fill all task parameters, errors are easy to occur, and the finally created firmware upgrading task is inconsistent with the actual requirement of the user and is low in efficiency; by analyzing the target resource package address and the target equipment identification information, all task parameters required by the task to be created can be automatically obtained, the task parameters are not required to be manually input by a user, errors are not easy to occur, the accuracy of the finally created firmware upgrading task is ensured, and the task creation efficiency is greatly improved.
S103, calling a task creation interface, and creating a firmware upgrading task according to the target resource package file and the task parameters.
In this embodiment, the task creation interface may be a virtual transmission channel. Further, the task creation interface may be an interactive interface that the task creation aid accesses the task creation platform for requesting the task creation platform to create a firmware upgrade task. The task creation platform may be a server platform dedicated to creating firmware upgrade tasks, for example, an OTA platform.
Specifically, after determining the target resource package file and the task parameter required by the task to be created, the task creation tool may call the task creation interface to interact with the task creation platform, so as to request the task creation platform to create a firmware upgrade task according to the target resource package file and the task parameter, so as to upgrade the firmware of the target device.
According to the technical scheme, the target resource package file can be automatically determined according to the target resource package address, and the target resource package address and the target equipment identification information are analyzed, so that task parameters required by a task to be created can be automatically acquired, manual input by a user is not needed, and user experience is improved; then, the firmware upgrade task can be automatically created according to the target resource package address and the task parameters. Compared with the existing firmware upgrading task creation mode, the embodiment provides a new idea of automatically creating the firmware upgrading task, greatly improves the efficiency of creating the firmware upgrading task, ensures that the created firmware upgrading task accords with the actual requirement of a user, and ensures the accuracy of task creation.
As an optional manner of the application, a task creation interface is called, and after the firmware upgrade task is created according to the target resource package file and the task parameter, the task creation interface may also: and displaying basic information of the firmware upgrading task to the request initiator, wherein the basic information is used for the request initiator to audit the firmware upgrading task based on the basic information. In this embodiment, the request initiator is a user who sends a task creation request to the task creation auxiliary tool; the base information may include, but is not limited to, task name, task id, product id, version information, and the like.
Specifically, the task creation auxiliary tool may request the task creation platform to feed back basic information of the firmware upgrade task to the task creation auxiliary tool after the firmware upgrade task is created; the task creation assistance tool may then present the basic information of the firmware upgrade task to the requesting initiator so that the requesting initiator may audit the created firmware upgrade task according to the basic information. In order to facilitate visual auditing of users, further, the task creation auxiliary tool can also display the target resource package address and the target equipment identification information carried by the task creation request and the basic information of the firmware upgrading task to the request initiator. It should be noted that, according to the embodiment, the basic information of the firmware upgrading task is displayed to the user, so that an intuitive auditing mode is provided for the user, and the user experience is further improved.
As an alternative way of the embodiment of the application, the task creation auxiliary tool can determine the target resource package file required by the task to be created by means of the background server or the third-party server, so that the occupation of local resources of the computing equipment of the user is avoided, and the normal operation of the computing equipment of the user is ensured. For example, the task creation assistance tool may send a target resource package address to the file processing server, and control the file processing server to download a target resource file required for the task to be created according to the target resource package address. Or the task creation assistance tool may send the target resource package address to the background server so that the background server downloads the target resource file required for the task to be created according to the target resource package address. In this embodiment, the file processing server may have a resource package file processing function (e.g., a server that downloads a resource package file, analyzes the resource package file, etc.).
Fig. 2 is a flow chart of another task creation method provided in accordance with an embodiment of the present application. The embodiment provides an alternative way for creating firmware upgrade tasks by interaction of the task creation aid with the task creation platform and the file processing server, respectively, based on the above embodiments, where the task creation aid executes the task creation aid. As shown in fig. 2, the task creation method includes:
s201, determining a target resource package file required by a task to be created according to a target resource package address carried in the task creation request.
S202, determining task parameters required by a task to be created according to the target resource packet address and the target equipment identification information carried in the task creation request.
S203, the control file processing server transmits the target resource package file to the task creation platform.
In this embodiment, the task creation platform may be a server platform dedicated to creating firmware upgrade tasks, for example, may be an OTA platform. Further, the task creation platform comprises a large number of product lines, tasks to be created with different requirements are required to be created under different product lines.
Optionally, the task creation auxiliary tool may preferably send a download request including the target resource package address to the file processing server, so as to instruct the file processing server to download the target resource package file required by the task to be created according to the target resource package address; further, the task creation assistance tool may send an upload request including the target resource package address and the task creation platform address to the file processing server after determining task parameters required for the task to be created, so as to instruct the file processor to transmit the target resource package file to the task creation platform. Further, since the task creation platform includes a plurality of product lines, in order to ensure accuracy of task creation, an upload request sent by the task creation platform to the file processing server may include a product line id, and further the file processing server platform may transmit the target resource package file to a position under a corresponding product line in the task creation platform.
It should be noted that, in the current task creation process of the OTA platform, the user needs to download the resource package file in the own resource library and upload the resource package file to the product line corresponding to the OTA platform, and this process needs to occupy the resources on the computing device of the user, the time of the user, and the like; compared with the existing OTA platform task creation mode, the task creation auxiliary tool does not occupy resources on the computing equipment of the user and time of the user, and ensures normal operation of the computing equipment of the user under the condition that the firmware upgrading task can be successfully created, so that user experience is improved.
S204, a task creation interface is called, and task parameters are transmitted to a task creation platform, so that the task creation platform creates a firmware upgrading task according to the target resource package file and the task parameters.
In this embodiment, the task creation interface is specifically a channel through which the task creation assistance tool interacts with the task creation platform. Specifically, the task creation auxiliary tool can call a task creation interface, transmit the product line id, the determined task parameters required by the task to be created and the like to the task creation platform, and then the task creation platform can create a firmware upgrading task under the corresponding product line according to the target resource package file and the task parameters.
Further, to ensure that the task can be successfully created, the file processing server may send successful upload information including the target resource package address to the task creation auxiliary tool after uploading the target resource package file to the product line corresponding to the task creation platform, so that the task creation auxiliary tool performs the operation of step S204 after receiving the successful upload information sent by the file processing server.
Further, the task creation auxiliary tool can acquire an interface call credential of a request initiator (namely, a user initiating a task creation request), bind the interface call credential with task parameters and the like, and transmit the interface call credential to a task creation platform through a task creation interface; the task creation platform can verify the identity of the request initiator according to the interface call certificate, and creates a firmware upgrading task under the corresponding product line according to the target resource package file and the task parameters under the condition that the identity verification is passed. The interface call credential in this embodiment may be a credential generated by the task creation aid according to account information, login timestamp, etc. of the user logging in to the task creation aid, and used for accessing the task creation platform. Alternatively, the task creation assistance tool may generate the interface call credential after the user successfully logs into the task creation assistance tool and may be stored in a temporary storage space of the user's computing device, or in the task creation assistance tool, or the like. Notably, in this embodiment, the task creation platform manages and controls the user rights of the creation task based on the interface call credential, so that the security of the task on the task creation platform can be ensured.
According to the technical scheme, the target resource package address and the target equipment identification information are analyzed, so that task parameters required by a task to be created can be automatically acquired, manual input by a user is not needed, and user experience is improved; the file processing server is introduced, and the file processing server uploads the target resource package file of the task to be created, which is determined based on the target resource package address, to the task creation platform through interaction with the file processing server, so that occupation of resources on the computing equipment of the user and time of the user can be avoided; meanwhile, through the task creation interface, the task parameter can be transmitted to the task creation platform to enable the task creation platform to create a corresponding firmware upgrading task according to the task parameter and the target resource package file. Compared with the existing firmware upgrading task creation mode, the embodiment provides a new idea of automatically creating the firmware upgrading task, greatly improves the efficiency of creating the firmware upgrading task, ensures that the created firmware upgrading task accords with the actual requirement of a user, and ensures the accuracy of task creation.
Fig. 3 is a flow chart of yet another task creation method provided in accordance with an embodiment of the present application. The present embodiment provides a way of reasonably creating firmware upgrade tasks in a case where a plurality of users have firmware upgrade task creation requirements, that is, in a case where the number of task creation requests is at least two, on the basis of the above embodiments. As shown in fig. 3, the task creation method includes:
s301, determining the priority of at least two task creation requests according to the grade of a request initiator and/or the request receiving time.
In this embodiment, the level of the request initiator may be the level of the user initiating the task creation request in the task creation aid; optionally, the task creation aid may automatically assign a level to the user based on the number of times the user logs into the task creation aid, the number of times a firmware upgrade task is created by the task creation aid, the user registration time, the user's point on the task creation aid, and the like. Further, users of the task creation aid may be classified into advanced VIP users, intermediate VIP users, general users, and the like. The request receiving time may be a time when the task creation aid receives a task creation request, or may be a time when the request initiator inputs a target resource package address, target device identification information, and the like at the task creation aid.
Optionally, in the case that the task creation aid acquires a plurality of task creation requests, the task creation aid may determine, according to the request receiving time, a priority of each task creation request, that is, an order of processing each task creation request, so as to ensure that a request of a user who sends the task creation request first can be processed in time.
In another example, in the case where the task creation aid acquires a plurality of task creation requests, the task creation aid may also determine, according to the level of the request initiator, the priority of each task creation request, that is, the order in which each task creation request is processed, so that the task creation request of a user with a higher level may be preferentially processed.
For another example, in the case that the task creation aid acquires a plurality of task creation requests, the task creation aid may determine, according to the level of the request initiator and the request receiving time, the priority of each task creation request, that is, the order of processing each task creation request, so as to comprehensively consider the user level and the request receiving time, and ensure that each task creation request may be reasonably processed.
S302, respectively executing the target resource package address carried in the task creation request for at least two task creation requests according to the priority, and determining a target resource package file required by the task to be created.
Optionally, in the case that the number of file processing servers interacting with the task creation auxiliary tool is one, for each task creation request, a target resource package address carried in the task creation request may be sent to the file processing server according to the priority, and the file processing server may be controlled to download the target resource package file according to the target resource package address.
Optionally, in the case that the number of file processing servers that interact with the task creation assistance tool is multiple, and the number of file processing servers is smaller than the number of task creation requests, the multiple file processing servers may be concurrently controlled to execute, according to the priority, the target resource package file required by the task to be created according to the target resource package address carried in the task creation request. In the case of each concurrent processing, the target resource package address sent by the task creation assistance tool to each file processing server is carried in a different task creation request.
S303, according to the priorities, respectively executing the task parameters required by the task to be created according to the target resource package address and the target equipment identification information carried in the task creation request on at least two task creation requests.
Optionally, in accordance with step S302, the task creation assistance tool needs to execute, according to the priorities, the task parameters required for the task to be created according to the target resource packet address and the target device identification information carried in the task creation request, for at least two task creation requests, respectively.
For example, task parameters required for a task to be created may be determined by serially executing, for each task creation request, based on the priority, the target resource package address and the target device identification information carried in the task creation request.
Or, the task parameters required by the task to be created can be determined by simultaneously executing the task creation requests according to the target resource package address and the target equipment identification information carried in the task creation requests. It should be noted that the number of steps S303 executed on the task creation request at a time is identical to the number of steps S302 executed on the task creation request at a time, and the task creation requests are identical.
S304, executing a call task creation interface to at least two task creation requests according to the priorities, and creating a firmware upgrading task according to the target resource package file and the task parameters, wherein the firmware upgrading task is used for upgrading the target equipment.
It should be noted that, in the case where the task creation aid acquires a plurality of task creation requests, the processes of steps S302 to S304 may be executed for each task creation request in series according to the priority; or the processes of steps S302 to S304 may be performed concurrently for a plurality of task creation requests according to priorities.
According to the technical scheme, under the condition that the number of the task creation requests is multiple, the priority of each task creation request is determined by introducing user grade, request receiving time and other factors for comprehensive analysis, and then each task creation request is processed based on the priority, so that the reasonable processing of each task creation request is ensured, and the flexibility of the scheme is further increased.
Fig. 4 is a schematic structural diagram of a task creating device according to an embodiment of the present application. The embodiment of the application is suitable for the situation of how to create firmware upgrade tasks. The device can realize the task creation method according to any embodiment of the application. The apparatus may be integrated in an electronic device carrying the task creation function. The task creation device 400 specifically includes:
the file determining module 401 is configured to determine, according to a target resource package address carried in the task creation request, a target resource package file required by a task to be created;
a task parameter determining module 402, configured to determine task parameters required for a task to be created according to the target resource packet address and the target device identification information carried in the task creation request;
the task creation module 403 is configured to call a task creation interface, and create a firmware upgrade task according to the target resource package file and the task parameter, so as to upgrade the firmware of the target device.
According to the technical scheme, the target resource package file can be automatically determined according to the target resource package address, and the target resource package address and the target equipment identification information are analyzed, so that task parameters required by a task to be created can be automatically acquired, manual input by a user is not needed, and user experience is improved; then, the firmware upgrade task can be automatically created according to the target resource package address and the task parameters. Compared with the existing firmware upgrading task creation mode, the embodiment provides a new idea of automatically creating the firmware upgrading task, greatly improves the efficiency of creating the firmware upgrading task, ensures that the created firmware upgrading task accords with the actual requirement of a user, and ensures the accuracy of task creation.
Illustratively, the file determination module 401 is specifically configured to:
and sending the target resource package address to the file processing server, and controlling the file processing server to download the target resource package file required by the task to be created according to the target resource package address.
Illustratively, the task creation module 403 is specifically configured to:
the control file processing server transmits the target resource package file to the task creation platform;
and calling a task creation interface, and transmitting the task parameters to a task creation platform so that the task creation platform creates a firmware upgrading task according to the target resource package file and the task parameters.
For example, if the number of task creation requests is at least two, the file determination module is specifically configured to:
determining the priority of at least two task creation requests according to the grade of a request initiator and/or the request receiving time;
and respectively executing the target resource package addresses carried in the task creation requests for at least two task creation requests according to the priorities, and determining target resource package files required by the task to be created.
Illustratively, the apparatus further comprises:
the display module is used for displaying the basic information of the firmware upgrading task to the request initiator and is used for checking the firmware upgrading task by the request initiator based on the basic information.
According to embodiments of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 5, a block diagram of an electronic device according to a task creation method according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the application described and/or claimed herein.
As shown in fig. 5, the electronic device includes: one or more processors 501, memory 502, and interfaces for connecting components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 501 is illustrated in fig. 5.
Memory 502 is a non-transitory computer readable storage medium provided herein. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the task creation methods provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the task creation method provided by the present application.
The memory 502 is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the file determining module 401, the task parameter determining module 402, and the task creating module 403 shown in fig. 4) corresponding to the task creating method in the embodiment of the present application. The processor 501 executes various functional applications of the server and data processing, i.e., implements the task creation method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 502.
Memory 502 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the electronic device of the task creation method, and the like. In addition, memory 502 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 502 may optionally include memory located remotely from processor 501, which may be connected to the electronic device of the task creation method via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the task creation method may further include: an input device 503 and an output device Y04. The processor 501, memory 502, input devices 503 and output devices 504 may be connected by a bus or otherwise, for example in fig. 5.
The input device 503 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device of the task creation method, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer stick, one or more mouse buttons, a track ball, a joystick, etc. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
According to the technical scheme of the embodiment of the application, the target resource package file can be automatically determined according to the target resource package address, and the target resource package address and the target equipment identification information are analyzed, so that task parameters required by the task to be created can be automatically acquired, manual input by a user is not needed, and user experience is improved; then, the firmware upgrade task can be automatically created according to the target resource package address and the task parameters. Compared with the existing firmware upgrading task creation mode, the embodiment provides a new idea of automatically creating the firmware upgrading task, greatly improves the efficiency of creating the firmware upgrading task, ensures that the created firmware upgrading task accords with the actual requirement of a user, and ensures the accuracy of task creation.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions disclosed in the present application can be achieved, and are not limited herein.
The above embodiments do not limit the scope of the application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application are intended to be included within the scope of the present application.
Claims (8)
1. A task creation method, comprising:
the method comprises the steps of sending a target resource package address to a file processing server, and controlling the file processing server to download a target resource package file required by a task to be created according to the target resource package address;
determining task parameters required by a task to be created according to the target resource packet address and the target equipment identification information carried in the task creation request;
controlling the file processing server to transmit the target resource package file to a task creation platform;
and calling a task creation interface, and transmitting the task parameters to the task creation platform so that the task creation platform creates a firmware upgrading task according to the target resource package file and the task parameters.
2. The method of claim 1, wherein if the number of task creation requests is at least two, determining, according to the target resource package address carried in the task creation request, a target resource package file required for the task to be created includes:
determining the priority of at least two task creation requests according to the grade of a request initiator and/or the request receiving time;
and respectively executing the target resource package addresses carried in the task creation requests for the at least two task creation requests according to the priorities, and determining target resource package files required by the task to be created.
3. The method of claim 1, wherein invoking a task creation interface creates a firmware upgrade task from the target resource package file and the task parameters, further comprising:
and displaying basic information of the firmware upgrading task to a request initiator, wherein the basic information is used for the request initiator to audit the firmware upgrading task based on the basic information.
4. A task creation device comprising:
the file determining module is specifically used for sending a target resource package address to the file processing server, and controlling the file processing server to download a target resource package file required by a task to be created according to the target resource package address;
the task parameter determining module is used for determining task parameters required by a task to be created according to the target resource packet address and the target equipment identification information carried in the task creation request;
the task creation module is specifically used for controlling the file processing server to transmit the target resource package file to a task creation platform;
and calling a task creation interface, and transmitting the task parameters to the task creation platform so that the task creation platform creates a firmware upgrading task according to the target resource package file and the task parameters.
5. The apparatus of claim 4, wherein if the number of task creation requests is at least two, the file determination module is specifically configured to:
determining the priority of at least two task creation requests according to the grade of a request initiator and/or the request receiving time;
and respectively executing the target resource package addresses carried in the task creation requests for the at least two task creation requests according to the priorities, and determining target resource package files required by the task to be created.
6. The apparatus of claim 4, further comprising:
the display module is used for displaying basic information of the firmware upgrading task to a request initiator and is used for checking the firmware upgrading task by the request initiator based on the basic information.
7. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the task creation method of any of claims 1-3.
8. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the task creation method of any of claims 1-3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011139797.5A CN112286552B (en) | 2020-10-22 | 2020-10-22 | Task creation method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011139797.5A CN112286552B (en) | 2020-10-22 | 2020-10-22 | Task creation method and device, electronic equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112286552A CN112286552A (en) | 2021-01-29 |
| CN112286552B true CN112286552B (en) | 2024-04-02 |
Family
ID=74424725
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011139797.5A Active CN112286552B (en) | 2020-10-22 | 2020-10-22 | Task creation method and device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112286552B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115639990A (en) * | 2022-09-09 | 2023-01-24 | 北京百度网讯科技有限公司 | Access method, system, device, equipment and storage medium of offline package |
| CN117724736A (en) * | 2023-11-13 | 2024-03-19 | 超聚变数字技术有限公司 | Upgrading method of server software and server |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105867922A (en) * | 2016-03-29 | 2016-08-17 | 乐视控股(北京)有限公司 | Differential upgrade method and system |
| CN105933150A (en) * | 2016-04-20 | 2016-09-07 | 努比亚技术有限公司 | OTA upgrade method, device and system |
| CN107819794A (en) * | 2016-09-12 | 2018-03-20 | 厦门雅迅网络股份有限公司 | Car-mounted terminal programme upgrade method and its system |
| CN110362328A (en) * | 2019-07-17 | 2019-10-22 | 腾讯科技(深圳)有限公司 | The method, apparatus and computer equipment of OTA upgrading |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9110761B2 (en) * | 2012-06-27 | 2015-08-18 | Microsoft Technology Licensing, Llc | Resource data structures for firmware updates |
| US9575741B2 (en) * | 2014-03-20 | 2017-02-21 | Google Technology Holdings LLC | Methods and devices for wireless device-to-device software upgrades |
| EP3690643B1 (en) * | 2017-10-24 | 2023-01-25 | Huawei International Pte. Ltd. | Vehicle-mounted device upgrading method and related device |
-
2020
- 2020-10-22 CN CN202011139797.5A patent/CN112286552B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105867922A (en) * | 2016-03-29 | 2016-08-17 | 乐视控股(北京)有限公司 | Differential upgrade method and system |
| CN105933150A (en) * | 2016-04-20 | 2016-09-07 | 努比亚技术有限公司 | OTA upgrade method, device and system |
| CN107819794A (en) * | 2016-09-12 | 2018-03-20 | 厦门雅迅网络股份有限公司 | Car-mounted terminal programme upgrade method and its system |
| CN110362328A (en) * | 2019-07-17 | 2019-10-22 | 腾讯科技(深圳)有限公司 | The method, apparatus and computer equipment of OTA upgrading |
Non-Patent Citations (1)
| Title |
|---|
| 苹果iOS7系统升级激活方案;晓慧;;电脑知识与技术(经验技巧)(01);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112286552A (en) | 2021-01-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110442524B (en) | Method and device for testing web service interface with authentication authorization | |
| CN111263933B (en) | Live debugging instance in deployed container platform | |
| CN108549580B (en) | Method for automatically deploying Kubernets slave nodes and terminal equipment | |
| CN110765024B (en) | Simulation test method, simulation test device, electronic equipment and computer readable storage medium | |
| JP2022022077A (en) | Methods and equipment for deploying applications, electronic devices, readable storage media and computer programs | |
| US20170351716A1 (en) | Resource allocation for database provisioning | |
| CN112925652B (en) | Application resource deployment methods, devices, electronic devices and media | |
| US9122793B2 (en) | Distributed debugging of an application in a distributed computing environment | |
| CN108509333A (en) | Debugging method and device | |
| CN112015654B (en) | Method and apparatus for testing | |
| CN111752843A (en) | Method, device, electronic equipment and readable storage medium for determining influence surface | |
| CN109995805A (en) | An intelligent robot management method, terminal device and medium | |
| CN110391938A (en) | Method and apparatus for deploying services | |
| WO2021120180A1 (en) | Virtual workspace experience visualization and optimization | |
| CN109672722B (en) | Data deployment method and device, computer storage medium and electronic equipment | |
| CN112286552B (en) | Task creation method and device, electronic equipment and storage medium | |
| CN111767089A (en) | Method, apparatus, device and storage medium for loading files | |
| CN108769175B (en) | Remote real machine access control method and device, storage medium and electronic equipment | |
| CN114217996B (en) | Mixing method and device | |
| CN106528415A (en) | Software compatibility test method, business platform and system | |
| CN112565225B (en) | Method, apparatus, electronic device and readable storage medium for data transmission | |
| CN112910956B (en) | Resource creation method and device and electronic equipment | |
| US10135684B2 (en) | Differential staging of devices in bulk enrollment | |
| CN111639116B (en) | Data access connection session protection method and device | |
| JP7147123B2 (en) | Source channel determination method, device, equipment, program and computer 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 |