Disclosure of Invention
The disclosure provides an application program management method and device, electronic equipment and a storage medium, and aims to improve the development efficiency of application programs.
According to a first aspect of the present disclosure, there is provided an application management method, including:
determining an application program set, wherein the application program set comprises at least one application program;
determining an application management request;
responding to the application program management request as a creation request, determining program creation information and creating a first application program according to the program creation information;
updating the first application to the set of applications;
in response to the application management request being a use request, determining a second application in the set of applications;
and processing the data to be processed according to the second application program to determine a processing result.
In one possible implementation manner, the determining program creation information and creating the first application program according to the program creation information includes:
determining program creating information, wherein the program creating information at least comprises configuration information;
determining at least one development tool and at least one dependency library from the configuration information;
creating a first application from the configuration information, at least one development tool, and at least one dependency library.
In one possible implementation, the determining program creation information includes:
displaying a program creation information uploading page;
and receiving the program creating information through the program creating information uploading page.
In one possible implementation, the configuration information includes at least one development tool identifier and at least one dependent library address;
said determining at least one development tool and at least one dependency library from said configuration information comprises:
determining a pre-stored development tool set, wherein the development tool set comprises at least one candidate development tool;
determining candidate development tools characterized by the development tool identification in the development tool set as development tools;
and acquiring data in the database according to the address of each dependent library to determine the dependent library.
In one possible implementation, the development tool is an algorithm-integrated software development kit.
In one possible implementation, the algorithm includes at least one of the following: image segmentation algorithm, image classification algorithm and image detection algorithm.
In one possible implementation, the determining the second application in the set of applications includes:
determining a target processing algorithm;
determining a second application program in the set of application programs according to the target processing algorithm.
In one possible implementation, the determining a target processing algorithm includes:
displaying a processing algorithm type selection page, wherein the selection page comprises at least one task processing algorithm;
in response to a task processing algorithm being selected, determining the task processing algorithm to be a target processing algorithm.
In one possible implementation, the determining a second application in the set of applications according to the target processing algorithm includes:
determining at least one candidate application corresponding to the target processing algorithm in the set of applications;
displaying each candidate application program;
in response to a candidate application being selected, determining the selected candidate application as a second application.
In a possible implementation manner, the processing the data to be processed according to the second application program to determine a processing result includes:
displaying a data receiving page;
in response to receiving data to be processed input through the data receiving page, processing the data to be processed according to the second application to determine a processing result.
According to a second aspect of the present disclosure, there is provided an application management apparatus comprising:
the system comprises a set determining module, a processing module and a display module, wherein the set determining module is used for determining an application program set, and the application program set comprises at least one application program;
the request receiving module is used for determining an application program management request;
the program creating module is used for responding to the application program management request as a creating request, determining program creating information and creating a first application program according to the program creating information;
a set update module for updating the first application to the set of applications;
the program selection module is used for responding to the application program management request as a use request and determining a second application program in the application program set;
and the result determining module is used for processing the data to be processed according to the second application program so as to determine a processing result.
In one possible implementation, the program creation module includes:
the creating information determining submodule is used for determining program creating information, and the program creating information at least comprises configuration information;
the file configuration submodule is used for determining at least one development tool and at least one dependency library according to the configuration information;
and the program creating submodule is used for creating the first application program according to the configuration information, at least one development tool and at least one dependency library.
In one possible implementation manner, the creation information determining sub-module includes:
the uploading page display unit is used for displaying the program creation information uploading page;
and the creation information receiving unit is used for receiving the program creation information through the program creation information uploading page.
In one possible implementation, the configuration information includes at least one development tool identifier and at least one dependent library address;
the file configuration submodule comprises:
the tool set determining unit is used for determining a pre-stored development tool set, and the development tool set comprises at least one candidate development tool;
the development tool determining unit is used for determining candidate development tools characterized by the development tool identifiers in the development tool set as development tools;
and the dependent library determining unit is used for acquiring data in the database according to each dependent library address so as to determine the dependent library.
In one possible implementation, the development tool is an algorithm-integrated software development kit.
In one possible implementation, the algorithm includes at least one of the following: image segmentation algorithm, image classification algorithm and image detection algorithm.
In one possible implementation, the program selection module includes:
the algorithm selection submodule is used for determining a target processing algorithm;
and the program selection submodule is used for determining a second application program in the application program set according to the target processing algorithm.
In one possible implementation, the algorithm selection sub-module includes:
the selection page display unit is used for displaying a processing algorithm type selection page, and the selection page comprises at least one task processing algorithm;
and the algorithm selection unit is used for responding to the selection of one task processing algorithm and determining the task processing algorithm as a target processing algorithm.
In one possible implementation, the program selection sub-module includes:
a candidate program determining unit, configured to determine at least one candidate application program corresponding to the target processing algorithm in the application program set;
a candidate program display unit configured to display each of the candidate application programs;
a program selection unit, configured to determine, in response to a candidate application being selected, that the selected candidate application is a second application.
In one possible implementation, the result determination module includes:
the receiving page display submodule is used for displaying a data receiving page;
and the result determining submodule is used for responding to the received to-be-processed data input through the data receiving page, and processing the to-be-processed data according to the second application program to determine a processing result.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method.
In the disclosed embodiment, the request type is determined upon receipt of an application management request by determining a set of applications that includes at least one application. When the application program management request is a creation request, determining program creation information, creating a first application program according to the program creation information, and updating the first application program into an application program set. And when the application program management request is a use request, determining a second application program in the application program set, and processing the data to be processed according to the second application program to obtain a processing result. The embodiment of the disclosure can realize the creation and the use of the application program based on one system, realize the rapid creation of the application program according to the program creation information under the creation condition, and also can visually verify the effect of each application program by directly calling the application program to perform task processing.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 shows a flow chart of an application management method according to an embodiment of the present disclosure. In a possible implementation manner, the application management method according to the embodiment of the disclosure may be executed by an electronic device such as a terminal device or a server. The terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, and other devices with data processing capability, and the terminal device may implement the application management method according to the embodiment of the present disclosure in a manner that a processor calls a computer readable instruction stored in a memory. Alternatively, the application management method of the embodiment of the present disclosure may also be executed by the server, that is, the server receives an application management request sent by the terminal device to execute the application management method. Alternatively, the server may be a single server or a server cluster including a plurality of servers.
The application management method of the embodiment of the present disclosure can be applied to any scene in which an application is created and a scene in which an application is used online. The image detection application may be created directly by sending program creation information, or the image data may be detected online using the image detection application by sending a request using the image detection application, for example.
As shown in fig. 1, the application management method of the embodiment of the present disclosure may include the following steps:
and step S10, determining an application program set.
In a possible implementation manner, the application set includes at least one application, and may be stored in an electronic device such as a terminal device or a server that executes the application management method according to the embodiment of the present disclosure. Alternatively, each application in the set of applications may be used by calling an application interface.
Optionally, by the electronic device executing the application management method according to the embodiment of the disclosure, management operations such as adding an application, deleting an application, and using an application to an application set may be performed. For example, one application program in the application program set is selected to execute the to-be-processed task uploaded by the user. Or creating a new application program according to a creation request uploaded by the user and then adding the new application program to the application program set, and deleting at least one application program in the application program set according to a deletion request of the user.
Further, the set of applications may also be displayed on a display device of the electronic device through the external interface for operating the set of applications in a human-computer interaction with the user.
And step S20, determining an application program management request.
In one possible implementation, the application management request is used to request management of the applications in the application collection, for example, creation of a new application, use of an application, deletion of an application, and the like may be requested. Alternatively, the electronic device may determine the application management request in different ways. For example, when the electronic device is a server, the application management request may be sent by other electronic devices, and determined by the server by way of reception. When the electronic device is a terminal device capable of performing human-computer interaction, the application management request can be determined in a human-computer interaction mode. For example, the application management request may be directly input by a user, or a corresponding request sending control may be triggered to generate the application management request.
Optionally, the application management request may include a request type and a request content. The request type is used for representing management operations required by application program management requests on the application program set, such as a creation request for creating a new application program or a use request for using the application program. The request content represents specific content of the management operation, such as program creation information for creating a new application program, or pending data that needs to be processed using the application program.
In a possible implementation manner, the user can also directly upload the request content in a man-machine interaction manner, the electronic device determines the corresponding request type according to the data content or the data format of the acquired request content, and further generates the application program management request according to the request type and the request content. For example, when a user uploads program creation information for creating a new application program, after the electronic device acquires the program creation information, the electronic device directly determines a corresponding request type as a creation request according to the content or format of the program creation information, and determines an application program management request according to the creation request and the program creation information.
Step S30, in response to the application management request being a creation request, determining program creation information and creating a first application according to the program creation information.
In one possible implementation manner, when the electronic device identifies the request type of the application management request as the creation request, program creation information for creating the application is determined, and the first application is created according to the program creation information.
Fig. 2 shows a flow diagram of a process of creating a first application according to an embodiment of the disclosure. As shown in fig. 2, in one possible implementation manner of the embodiment of the present disclosure, a process of creating a first application program in the embodiment of the present disclosure may include the following steps:
step S31, program creation information is determined.
In one possible implementation, the program creation information is determined after the electronic device identifies a request type of the application management request as a creation type. Alternatively, when the request content is included in the application management request, the request content may be directly determined as the program creation information. When the application program management request only comprises the request type, program creation information sent by other electronic equipment can be received, or program creation information uploaded by a user can be received in a man-machine interaction mode with the user. Further, the process of the human-computer interaction may be that an information uploading page is created through a display interface display program of the electronic device, and then the information uploading page is created through the process sequence to receive program creation information.
Optionally, the program creation information includes at least configuration information for configuring the application, and may include at least one development tool identifier and at least one dependent library address. The development tool identification is used for representing a development tool package which needs to be called by the generated application program, and the dependent library address is used for representing a dependent library storage address which needs to be called when the application program runs. Further, the program creation information may further include a script file and a text file. The script file is used for storing script codes of program operation, and the text file comprises a read me document of the application program and can be used for describing the installation and use method of the application program. Alternatively, the script file and the text file may be edited in advance by the user. Or, the program creating information may further include a script file address for characterizing a storage address of the script file in the electronic device.
Fig. 3 shows a schematic diagram of a program creating an information upload page according to an embodiment of the present disclosure. As shown in fig. 3, the terminal device displays a program creation information upload page 30 by displaying a page, and optionally, an information upload control 31 is included in the program creation information upload page 30. The user may upload the program-created information by triggering the information upload control 31, for example, the user may open a storage folder of the electronic device by clicking the information upload control 31 and select at least one file to be uploaded therein. The information upload control 31 is triggered when at least one file is selected, and determines that the file is program upload information.
Further, the program creation information uploading page 30 may further include an information editing control 32, and the user may generate and upload the program creation information by triggering the information editing control 32. For example, the user may display an information editing page by clicking the information editing control 32, create program creation information by editing the content of the information editing page, and upload the program creation information after creation.
And step S32, determining at least one development tool and at least one dependency library according to the configuration information.
In one possible implementation, the electronic device may determine at least one development tool and at least one dependency library for creating the first application based on the configuration information. Alternatively, the electronic device of the embodiment of the present disclosure may determine the development tool set and the database, and then determine the development tool and the dependency library in the development tool set and the database, respectively, according to the configuration information. For example, a pre-stored set of development tools may be determined, the set of development tools including at least one candidate development tool, and the candidate development tools characterized by each development tool identifier in the set of development tools are determined to be development tools. And acquiring data in the database according to the addresses of the dependent libraries to determine the dependent libraries. The development tool may be an algorithm-integrated software development kit that can be used directly in a calling manner by the created application. The algorithm of the integrated development tool may be any algorithm, such as an image segmentation algorithm, an image classification algorithm, an image detection algorithm, and the like.
Alternatively, the set of development tools may be stored in a local database of the electronic device, or in a cloud database connected to the electronic device. A number of candidate development tools may be pre-stored for direct invocation when a user needs to create an application. Furthermore, a plurality of script files are stored in the database of the electronic device, and can be obtained according to the script file addresses in the configuration information.
According to the embodiment of the disclosure, the pre-stored development tools and the dependency libraries can be directly called according to the configuration information, and the development tools required by redevelopment and the dependency libraries required by application program operation can be avoided. The creation efficiency of the application program is directly improved, and the application program can be quickly created.
And step S33, creating a first application program according to the configuration information, the at least one development tool and the at least one dependency library.
In one possible implementation, when determining at least one development tool for being called and at least one dependency library required by an application running process according to the configuration information, the first application is created directly according to the configuration information, the development tool and the dependency library. Optionally, when the configuration information includes a text file and a script file, information other than the text file and the script file in the configuration information is used as the configuration file, each development tool is stored in the tool file, and the content in each dependency library is stored in the library file. And generates a first application comprising a configuration file, a script file, a tool file, a text file, and a library file.
Further, when the configuration information includes a text file, the information other than the text file is used as the configuration file, each development tool determined according to the configuration information is stored in the tool file, the content in each dependency library is stored in the library file, and the script file is stored in the script file. And generates a first application comprising a configuration file, a script file, a tool file, a text file, and a library file.
FIG. 4 shows a schematic diagram of an application file according to an embodiment of the present disclosure. As shown in fig. 4, the created application file 40 of the first application includes a configuration file config, a text file doc, a library file lib, a tool file model, and a script file script.
And step S40, updating the first application program to the application program set.
In one possible implementation, after the first application is created according to the application creation request, the first application is updated into the set of applications for use by the user.
FIG. 5 shows a schematic diagram of a system for performing an application management method according to an embodiment of the present disclosure. As shown in fig. 5, the electronic device executing the application management method according to the embodiment of the present disclosure may be executed by the application management system 50 on which it operates. Optionally, the application management system 50 may include an interface layer 51, a business layer 52, an algorithm layer 53, an intermediate layer 54, and a processing layer 55. Wherein the interface layer 51 is used to interface with the user. The service layer 52 includes a set of applications that can be displayed to the user through the interface layer 51. The algorithm layer 53 pre-selects a set of development tools including at least future candidate development tools for providing the development tools to create applications based on the configuration information. The intermediate layer 54 includes a database storing data such as a dependency library and a script file, and is configured to provide data therein according to the configuration information. The processing layer 55 is used for data processing.
That is, when an application management request that a user needs to create a first application is received through the interface layer 51, at least one development tool is determined in the algorithm layer 53 and at least one dependent library is determined in the intermediate layer 54 by the processing layer 55 according to configuration information in the application management request. Further, a configuration file, a text file, a library file, a tool file, and a script file are created based on the configuration information, the development tool, the dependency library, and the like, and a first application program is created based on the files. Further, the first application is created and updated into the set of applications in the business layer 52.
Step S50, in response to the application management request being a use request, determining a second application in the set of applications.
In a possible implementation manner, when the electronic device identifies that the request type of the application management request is a use request, it is determined that the user needs to use at least one application in the application set for data processing, and one application is selected from the application set as a second application for processing data.
Optionally, the second application program may be selected by a method of human-computer interaction with the user, for example, a target processing algorithm may be determined first, and then the second application program may be determined in the application program set according to the target processing algorithm. The target processing algorithm is an algorithm for data processing selected by a user. For example, when the user needs to perform image processing, the target processing algorithm selected by the user may be an image segmentation algorithm, an image detection algorithm, an image classification algorithm, and the like.
Further, a processing algorithm type selection page may be displayed through a display interface of the electronic device, where the selection page includes at least one task processing algorithm. In response to a task processing algorithm being selected, determining the task processing algorithm to be a target processing algorithm. That is, when the user selects one task processing algorithm in the page by clicking or the like, the electronic device determines that the task processing algorithm is the target processing algorithm.
FIG. 6 illustrates a schematic diagram of a selection page according to an embodiment of the present disclosure. As shown in fig. 6, when three task processing algorithms 61, an image segmentation algorithm, an image classification algorithm, and an image detection algorithm, are displayed in the selection page 60 of the processing algorithm type, the user can select an algorithm, which is required to perform data processing using the algorithm, among them as a target processing algorithm. For example, when the user needs to detect the image data, the image detection algorithm may be selected as the target processing algorithm by clicking.
In one possible implementation, after the target processing algorithm is selected by the user, at least one candidate application corresponding to the target processing algorithm may be determined in the application set, and each candidate application may be displayed. In response to a candidate application being selected, the selected candidate application is determined to be a second application. The candidate application program comprises a development tool integrated by a target processing algorithm. Alternatively, each candidate application may be displayed in the form of a popup window or directly in the form of a page.
FIG. 7 illustrates a schematic diagram showing candidate applications, according to an embodiment of the disclosure. As shown in fig. 7, after the user selects the target processing algorithm, the candidate applications may be displayed directly above the selection page 60 in the form of a popup 62, and the user may select one application among the candidate applications as a second application to perform data processing according to the second application.
And step S60, processing the data to be processed according to the second application program to determine a processing result.
In a possible implementation manner, after the second application program is determined, the data to be processed is processed by the second application program, so that a processing result is obtained. Optionally, after the processing result is obtained, the processing result may be displayed to the user through a display interface of the electronic device. Optionally, the data to be processed is data uploaded by a user, and may be image data, audio data, video data, text data, and the like. The user may upload the pending data before selecting the second application or upload the pending data after selecting the second application.
In one possible implementation, the user processes the data to be processed according to the second application, and the process of determining the processing result may include displaying a data receiving page, and in response to receiving the data to be processed input through the data receiving page, processing the data to be processed according to the second application to determine the processing result. Optionally, the data receiving page may also be displayed before the selection page is displayed, so as to upload the data to be processed before the second application program is determined, and directly perform data processing on the data to be processed after the second application program is determined, so as to obtain a processing result.
According to the processing method disclosed by the embodiment of the disclosure, online data processing can be performed under the condition that the application program is not downloaded, and the storage space of the electronic equipment can be saved under the application scene with insufficient memory. Meanwhile, the processing effect of each application program in the application program set can be verified in a data processing mode by uploading data to be processed, and the processing result is displayed to a user, so that the user can visually know the data processing capacity of each application program. In a scenario where the use of the downloaded application is required, the user may select the application download in which the data processing capability is as desired.
That is to say, the embodiment of the present disclosure can implement creation and online use of an application program simultaneously based on one system, and can implement rapid creation of an application program by directly uploading program creation information when the application program needs to be created. Furthermore, when online data processing is needed or the data processing effect of the application program is determined online, the application program can be directly called to perform data processing without downloading the application program.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted. Those skilled in the art will appreciate that in the above methods of the specific embodiments, the specific order of execution of the steps should be determined by their function and possibly their inherent logic.
In addition, the present disclosure also provides an application management apparatus, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any one of the application management methods provided by the present disclosure, and the corresponding technical solutions and descriptions and corresponding descriptions in the method section are not repeated.
Fig. 8 shows a schematic diagram of an application management apparatus according to an embodiment of the present disclosure, as shown in fig. 8, the apparatus includes:
a set determining module 80, configured to determine an application set, where the application set includes at least one application program;
a request receiving module 81 for determining an application management request;
a program creating module 82, configured to determine program creating information in response to the application program management request being a creating request, and create a first application program according to the program creating information;
a set update module 83, configured to update the first application program to the application program set;
a program selection module 84, configured to determine a second application program in the set of application programs in response to the application program management request being a use request;
and the result determining module 85 is used for processing the data to be processed according to the second application program so as to determine a processing result.
In one possible implementation, the program creation module includes:
the creating information determining submodule is used for determining program creating information, and the program creating information at least comprises configuration information;
the file configuration submodule is used for determining at least one development tool and at least one dependency library according to the configuration information;
and the program creating submodule is used for creating the first application program according to the configuration information, at least one development tool and at least one dependency library.
In one possible implementation manner, the creation information determining sub-module includes:
the uploading page display unit is used for displaying the program creation information uploading page;
and the creation information receiving unit is used for receiving the program creation information through the program creation information uploading page.
In one possible implementation, the configuration information includes at least one development tool identifier and at least one dependent library address;
the file configuration submodule comprises:
the tool set determining unit is used for determining a pre-stored development tool set, and the development tool set comprises at least one candidate development tool;
the development tool determining unit is used for determining candidate development tools characterized by the development tool identifiers in the development tool set as development tools;
and the dependent library determining unit is used for acquiring data in the database according to each dependent library address so as to determine the dependent library.
In one possible implementation, the development tool is an algorithm-integrated software development kit.
In one possible implementation, the algorithm includes at least one of the following: image segmentation algorithm, image classification algorithm and image detection algorithm.
In one possible implementation, the program selection module includes:
the algorithm selection submodule is used for determining a target processing algorithm;
and the program selection submodule is used for determining a second application program in the application program set according to the target processing algorithm.
In one possible implementation, the algorithm selection sub-module includes:
the selection page display unit is used for displaying a processing algorithm type selection page, and the selection page comprises at least one task processing algorithm;
and the algorithm selection unit is used for responding to the selection of one task processing algorithm and determining the task processing algorithm as a target processing algorithm.
In one possible implementation, the program selection sub-module includes:
a candidate program determining unit, configured to determine at least one candidate application program corresponding to the target processing algorithm in the application program set;
a candidate program display unit configured to display each of the candidate application programs;
a program selection unit, configured to determine, in response to a candidate application being selected, that the selected candidate application is a second application.
In one possible implementation, the result determination module includes:
the receiving page display submodule is used for displaying a data receiving page;
and the result determining submodule is used for responding to the received to-be-processed data input through the data receiving page, and processing the to-be-processed data according to the second application program to determine a processing result.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-mentioned method. The computer readable storage medium may be a volatile or non-volatile computer readable storage medium.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.
The disclosed embodiments also provide a computer program product comprising computer readable code or a non-transitory computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, the processor in the electronic device performs the above method.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 9 shows a schematic diagram of an electronic device 800 according to an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.
Referring to fig. 9, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
Fig. 10 shows a schematic diagram of an electronic device 1900 according to an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 10, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system, such as the Microsoft Server operating system (Windows Server), stored in the memory 1932TM) Apple Inc. of the present application based on the graphic user interface operating System (Mac OS X)TM) Multi-user, multi-process computer operating system (Unix)TM) Free and open native code Unix-like operating System (Linux)TM) Open native code Unix-like operating System (FreeBSD)TM) Or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.