CN113868092A - Application determination method, application determination device, electronic device and readable storage medium - Google Patents

Application determination method, application determination device, electronic device and readable storage medium Download PDF

Info

Publication number
CN113868092A
CN113868092A CN202111183628.6A CN202111183628A CN113868092A CN 113868092 A CN113868092 A CN 113868092A CN 202111183628 A CN202111183628 A CN 202111183628A CN 113868092 A CN113868092 A CN 113868092A
Authority
CN
China
Prior art keywords
file
attribute
application
input
template
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.)
Pending
Application number
CN202111183628.6A
Other languages
Chinese (zh)
Inventor
王飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111183628.6A priority Critical patent/CN113868092A/en
Publication of CN113868092A publication Critical patent/CN113868092A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/143Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • G06F40/154Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses an application determination method, an application determination device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The application determination method comprises the following steps: acquiring attribute values of the template file and the first file attribute; sending the attribute values of the template file and the first file attribute to a server, wherein the attribute values of the template file and the first file attribute are used for indicating the server to generate a first application file; determining the applications contained in the first application file according to the target attributes in the first file attributes; wherein the first file attribute comprises at least one of: the application version, the application name, the application type, whether to open the popup prompt, the power consumption of the bright screen, and the power consumption of the screen.

Description

Application determination method, application determination device, electronic device and readable storage medium
Technical Field
The present application belongs to the field of communication technologies, and in particular, relates to an application determination method, an application determination apparatus, an electronic device, and a readable storage medium.
Background
At present, in order to manage and control an application, an xml application list file including the application and an attribute value thereof may be uploaded on a configuration file management platform, and the xml application list file is issued to a user corresponding to a specified dimension (for example, a model, a system version, imei, and the like) after passing quality audit, group leader audit, and administrator audit, so as to realize management and control of a specific application.
The existing solution is to generate an application list file containing application information by adding a black and white list file in a configuration file management platform, but the format of the black and white list file is fixed. Therefore, the uploading function of the files with the custom format is developed subsequently, and the user can conveniently upload the application list files with the custom format.
However, in the process of management and control, sometimes it is necessary to know the application conditions contained in various management and control files in the configuration file management platform, and due to different file formats, the application conditions contained in the application list files cannot be counted.
Disclosure of Invention
An object of the embodiments of the present application is to provide an application determining method, an application determining apparatus, an electronic device, and a readable storage medium, which can solve the problem that the applications included in an application list file cannot be counted well in the related art.
In a first aspect, an embodiment of the present application provides an application determining method, where the application determining method includes:
acquiring attribute values of the template file and the first file attribute;
sending the attribute values of the template file and the first file attribute to a server, wherein the attribute values of the template file and the first file attribute are used for indicating the server to generate a first application file;
determining the applications contained in the first application file according to the target attributes in the first file attributes;
wherein the first file attribute comprises at least one of: the application version, the application name, the application type, whether to open the popup prompt, the power consumption of the bright screen, and the power consumption of the screen.
In a second aspect, an embodiment of the present application provides an application determining apparatus, including:
the acquisition module is used for acquiring attribute values of the template file and the first file attribute;
the sending module is used for sending the attribute values of the template file and the first file attribute to the server, wherein the attribute values of the template file and the first file attribute are used for indicating the server to generate a first application file;
the determining module is used for determining the application contained in the first application file according to the target attribute in the first file attribute;
wherein the first file attribute comprises at least one of: the application version, the application name, the application type, whether to open the popup prompt, the power consumption of the bright screen, and the power consumption of the screen.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the attribute value of at least one first file attribute and the template file are obtained, the attribute value and the template file are sent to the server, so that the server can fill the attribute value into the template file, and thus the first application file is generated. By means of the method, the application contained in the file is synchronously recorded in the process of generating the application file, and therefore the management and control conditions of the file for the application are conveniently tracked.
Drawings
Fig. 1 is a flowchart illustrating an application determination method according to an embodiment of the present application;
FIG. 2 is a second flowchart of an application determination method according to an embodiment of the present application;
FIG. 3 is a third flowchart of an application determination method according to an embodiment of the present application;
FIG. 4 is a schematic view of a display page of an electronic device of an embodiment of the application;
FIG. 5 is a schematic block diagram of an application determination apparatus of an embodiment of the present application;
FIG. 6 is one of the schematic block diagrams of an electronic device of an embodiment of the present application;
fig. 7 is a second schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The application determining method, the application determining apparatus, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
An embodiment of the present application provides an application determining method, as shown in fig. 1, the application determining method includes:
step 102, obtaining attribute values of the template file and the first file attribute.
And 104, sending the attribute values of the template file and the first file attribute to a server, wherein the attribute values of the template file and the first file attribute are used for indicating the server to generate a first application file.
And 106, determining the applications contained in the first application file according to the target attributes in the first file attributes.
Wherein the first file attribute comprises at least one of: the application version, the application name, the application type, whether to open the popup prompt, the power consumption of the bright screen, and the power consumption of the screen.
In the embodiment, an attribute value and a template file of at least one first file attribute are obtained, and the attribute value and the template file are sent to a server so that the server can fill the attribute value into the template file, thereby generating a first application file. Further, the applications contained in the first application file are determined according to the current attribute (such as the application attribute) in the at least one first file attribute.
It should be noted that the first application file is an xml file, and the template file may be obtained according to an original file, where the original file includes a file format and file attributes. In addition, the step of determining the application included in the first application file according to the target attribute in the first file attribute may also be performed at the server.
By means of the method, the application contained in the file is recorded in the process of generating the application file, and therefore the management and control conditions of the file for the application can be conveniently tracked.
Further, in an embodiment of the present application, before determining an application included in the first application file according to a target attribute in the first file attributes, the application determination method further includes: receiving a third input of the attribute identification by the user; and in response to a third input, determining a target attribute corresponding to the attribute identification in the first file attribute.
Wherein the third input includes, but is not limited to, a single click input, a double click input, a slide input, a press input, etc. Specifically, the embodiment of the present application does not specifically limit the manner of the third input, and may be any realizable manner.
In this embodiment, the user inputs the attribute identifier by performing the operation of the third input, so that the situation of the application included in the application file can be acquired according to the determination target attribute.
Further, in an embodiment of the present application, obtaining an attribute value of the first file attribute includes: generating a display page according to the template file, wherein the display page comprises an attribute value filling identifier of the first file attribute; receiving a first input of a user for filling in an identifier for the attribute value; in response to a first input, an attribute value of a first file attribute is determined.
In this embodiment, since the format of the xml file is mostly composed of the attribute of the xml node and the attribute value of the xml node, the template file of the xml file can be abstracted, and then the template file is rendered into the display page for display. And filling the attribute values corresponding to the file attributes at the attribute value filling identification positions on the display page by the user, finally sending the attribute values to the server, and performing template filling on the attribute values to generate the first application file. Also, the application with which the first application file is associated may be recorded for the target attribute (e.g., the application package name may be used to identify the piece of application administration record).
In a specific embodiment, as shown in fig. 2, the application determination method includes:
step 202, analyzing the original xml file to generate a corresponding template file.
Firstly, generating a corresponding rendering template according to an original xml file. Through analysis, the whole file is actually the attribute corresponding to the xml file, such as the attribute values of the attributes of the application version (version), the application name (name), the application type (appType), isneedlenotifi (whether to open the popup prompt), maxppower (bright screen power consumption), maxPowerScreenOff (information screen power consumption) and the like. For example, the placeholder of the attribute value is represented in $ { attribute value }, so that a template file can be defined, and then a display page is rendered to the front end, and only the placeholder values (i.e., attribute values) need to be filled in on the display page.
And step 204, rendering the corresponding display page by the front end according to the template file.
And rendering a display page convenient for a user to fill in the attribute values by the front end according to the attribute values in the template file and the relationship between the attributes and the nodes (item). For example, item has attributes of version, name, isneedledntifi, appType, etc., and the rendered display page is shown in fig. 4. It should be noted that if the file contains multiple applications, multiple items can be generated by clicking the "+" sign in fig. 4.
At step 206, the user fills in placeholders in the template file.
The user only needs to fill in the values of the corresponding attributes such as version, name, isNeedNotifi, appType, maxpower, maxPowerScarenOff, and the like.
And step 208, generating an application list file according to the attribute values and the template file filled by the user.
The user submits the information of the filled attribute values to the server, and then the server generates a corresponding application list file (i.e. the first application file) according to the template file.
And step 210, extracting the application characteristic fields filled by the user and acquiring all application information.
Meanwhile, the feature field of the application is marked as apps, so that the applications contained in the corresponding list file can be obtained by analyzing the values of the apps attribute, such as the apps of the files with values of com.
According to the embodiment of the application, the corresponding template file is generated for each application list file, then the template file is delivered to the front end for rendering, a page convenient for a user to fill in the attribute values of the files is generated, the corresponding list file can be generated after the user fills in the corresponding attribute values, and the application associated with the list file is obtained according to the special mark of the application attribute. By the method, on one hand, the problem that different application list file formats exist in different modules of the electronic equipment can be solved; on the other hand, the corresponding application information can be acquired while the list file is generated, so that the subsequent software representatives can know the existing managed and controlled application list conveniently. In addition, it should be noted that the software represents operations that can add or remove applications to or from the administrative list.
Further, in an embodiment of the present application, obtaining an attribute value of the first file attribute includes: receiving a second input of the user to the second application file; and responding to the second input, and performing attribute mapping conversion on the attribute value of the second file attribute of the second application file to obtain the attribute value of the first file attribute.
In this embodiment, since some application list files contain up to 500 applications, and it is time-consuming to configure each application list file, the corresponding first application file may be generated by parsing the second application file existing in the user's hand, mapping the second application file with the attribute of the content version, and finally filling the template file with the corresponding attribute value by the server.
In a specific embodiment, as shown in fig. 3, the application determination method includes:
step 302, uploading the existing xml file, and analyzing the content of the xml file into the content A in the JSON format.
In order to generate an application list file by using an existing xml file in the hands of a user and in an importing mode, the content imported by the xml file is converted into the content A in the JSON format.
And step 304, performing attribute mapping on the fields in the content A in the JSON format, and converting the content A in the JSON format into a content B simulating the filling of attribute values in a front-end display page of a user.
Knowing the format of the file content B submitted to the server by the front end in advance, and then converting the content A in the JSON format after the existing xml file on the hand of the user is imported into the background into the content B submitted to the server by the front end through attribute mapping, namely converting the process of importing the file into a process of simulating the user to fill in attribute values at the front end.
And step 306, generating an application list file according to the content B and the template file.
And acquiring the application list file conforming to the user-defined format by utilizing the content B and the corresponding template file.
And 308, extracting the application characteristic fields filled by the user to acquire all application information.
Meanwhile, the feature field of the application is marked as apps, so that the applications contained in the corresponding list file can be obtained by analyzing the values of the apps attribute, such as the apps of the files with values of com.
According to the method and the device for generating the application list file, the existing xml file on the hand of the user is imported, the format of the imported xml file content is converted into the format of the file content which is finally generated in a mode that the attribute value is filled in the front-end page by the user, and then the application list file is generated according to the template file, so that the user is prevented from manually configuring a large number of applications, and the configuration efficiency of the user is improved.
It is to be noted that the method provided in the embodiment of the present application may be applicable to a scene in which the file format is a JSON file, and may obtain a corresponding template file by analyzing the file format of the JSON file, and then render the template file on a front-end page, and after a user fills a corresponding attribute value, may generate a corresponding application list file.
It should be noted that, in the application determination method provided in the embodiment of the present application, the execution subject may be an application determination device, or a control module in the application determination device for executing the application determination method. In the embodiment of the present application, an application determining apparatus executing an application determining method is taken as an example, and the application determining apparatus provided in the embodiment of the present application is described.
An embodiment of the present application provides an application determining apparatus, as shown in fig. 5, the application determining apparatus 500 includes:
an obtaining module 502, configured to obtain attribute values of a template file and a first file attribute;
a sending module 504, configured to send the template file and the attribute value of the first file attribute to the server, where the attribute values of the template file and the first file attribute are used to instruct the server to generate a first application file;
a determining module 506, configured to determine, according to the target attribute in the first file attributes, an application included in the first application file.
Wherein the first file attribute comprises at least one of: the application version, the application name, the application type, whether to open the popup prompt, the power consumption of the bright screen, and the power consumption of the screen.
In the embodiment, an attribute value and a template file of at least one first file attribute are obtained, and the attribute value and the template file are sent to a server so that the server can fill the attribute value into the template file, thereby generating a first application file. Further, the applications contained in the first application file are determined according to the current attribute (such as the application attribute) in the at least one first file attribute. By means of the method, the application contained in the file is synchronously recorded in the process of generating the application file, and therefore the management and control conditions of the file for the application are conveniently tracked.
Further, in an embodiment of the present application, the application determining apparatus 500 further includes: the generating module is used for generating a display page according to the template file, wherein the display page comprises an attribute value filling identifier of the first file attribute; the first receiving module is used for receiving a first input of a user for filling the identification in the attribute value; the obtaining module 502 is specifically configured to determine an attribute value of a first file attribute in response to a first input.
Further, in an embodiment of the present application, the application determining apparatus 500 further includes: the second receiving module is used for receiving second input of the user to the second application file; the obtaining module 502 is specifically configured to perform attribute mapping conversion on an attribute value of a second file attribute of a second application file in response to a second input, so as to obtain an attribute value of a first file attribute.
Further, in an embodiment of the present application, the application determining apparatus 500 further includes: the third receiving module is used for receiving a third input of the attribute identifier by the user; and the determining module is used for responding to the third input and determining the target attribute corresponding to the attribute identification in the first file attribute.
The application determining apparatus 500 in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the Mobile electronic device may be a Mobile phone, a tablet Computer, a notebook Computer, a palm top Computer, an in-vehicle electronic device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-Mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (Personal Computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The application determination device 500 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The application determining apparatus 500 provided in this embodiment of the application can implement each process implemented in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 602, a memory 604, and a program or an instruction stored in the memory 604 and executable on the processor 602, where the program or the instruction is executed by the processor 602 to implement each process of the foregoing embodiment of the application determination method, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: radio unit 702, network module 704, audio output unit 706, input unit 708, sensor 710, display unit 712, user input unit 714, interface unit 716, memory 718, and processor 720.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, which may be logically coupled to the processor 720 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 720 is configured to obtain attribute values of the template file and the first file attribute; the radio frequency unit 702 is configured to send attribute values of the template file and the first file attribute to the server, where the attribute values of the template file and the first file attribute are used to instruct the server to generate a first application file; the processor 720 is further configured to determine an application included in the first application file according to the target attribute in the first file attributes.
Wherein the first file attribute comprises at least one of: the application version, the application name, the application type, whether to open the popup prompt, the power consumption of the bright screen, and the power consumption of the screen.
In the embodiment, an attribute value and a template file of at least one first file attribute are obtained, and the attribute value and the template file are sent to a server so that the server can fill the attribute value into the template file, thereby generating a first application file. Further, the applications contained in the first application file are determined according to the current attribute (such as the application attribute) in the at least one first file attribute. By means of the method, the application contained in the file is synchronously recorded in the process of generating the application file, and therefore the management and control conditions of the file for the application are conveniently tracked.
Further, in an embodiment of the present application, the processor 720 is specifically configured to generate a display page according to the template file, where the display page includes an attribute value filling identifier of the first file attribute; a user input unit 714 for receiving a first input of a user filling in an identification for the attribute value; processor 720 is specifically configured to determine an attribute value of a first file attribute in response to a first input.
Further, in an embodiment of the present application, the user input unit 714 is further configured to receive a second input of the second application file from the user; the processor 720 is specifically configured to perform attribute mapping conversion on the attribute value of the second file attribute of the second application file in response to the second input, so as to obtain an attribute value of the first file attribute.
Further, in an embodiment of the present application, the user input unit 714 is further configured to receive a third input of the attribute identifier by the user; the processor 720 is specifically configured to determine, in response to the third input, a target attribute corresponding to the attribute identifier in the first file attribute.
It should be understood that, in the embodiment of the present application, the radio frequency unit 702 may be used for transceiving information or transceiving signals during a call, and in particular, receiving downlink data of a base station or sending uplink data to the base station. Radio frequency unit 702 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The network module 704 provides wireless broadband internet access to the user, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 706 may convert audio data received by the radio frequency unit 702 or the network module 704 or stored in the memory 718 into an audio signal and output as sound. Also, the audio output unit 706 may provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 706 includes a speaker, a buzzer, a receiver, and the like.
The input unit 708 is used to receive audio or video signals. The input Unit 708 may include a Graphics Processing Unit (GPU) 7082 and a microphone 7084, and the Graphics processor 7082 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 712, or stored in the memory 718 (or other storage medium), or transmitted via the radio frequency unit 702 or the network module 704. The microphone 7084 may receive sound and may be capable of processing the sound into audio data, and the processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 702 in the case of a phone call mode.
The electronic device 700 also includes at least one sensor 710, such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, a motion sensor, and others.
The display unit 712 is used to display information input by the user or information provided to the user. The display unit 712 may include a display panel 7122, and the display panel 7122 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
The user input unit 714 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 714 includes a touch panel 7142 and other input devices 7144. Touch panel 7142, also referred to as a touch screen, may collect touch operations by a user on or near it. The touch panel 7142 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 720, receives a command from the processor 720, and executes the command. Other input devices 7144 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 7142 may be overlaid on the display panel 7122, and when the touch panel 7142 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 720 to determine the type of the touch event, and then the processor 720 provides a corresponding visual output on the display panel 7122 according to the type of the touch event. The touch panel 7142 and the display panel 7122 may be provided as two separate components or may be integrated into one component.
The interface unit 716 is an interface through which an external device is connected to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 716 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
Memory 718 may be used to store software programs as well as various data. The memory 718 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. Additionally, the memory 718 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
Processor 720 performs various functions of electronic device 700 and processes data by executing or executing software programs and/or modules stored in memory 718, as well as invoking data stored in memory 718, thereby providing an overall monitoring of electronic device 700. Processor 720 may include one or more processing units; preferably, the processor 720 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the application determination method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the application determination method, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An application determination method, comprising:
acquiring attribute values of the template file and the first file attribute;
sending the attribute values of the template file and the first file attribute to a server, wherein the attribute values of the template file and the first file attribute are used for indicating the server to generate a first application file;
determining the applications contained in the first application file according to target attributes in the first file attributes;
wherein the first file attribute comprises at least one of: the application version, the application name, the application type, whether to open the popup prompt, the power consumption of the bright screen, and the power consumption of the screen.
2. The method according to claim 1, wherein the obtaining the attribute value of the first file attribute comprises:
generating a display page according to the template file, wherein the display page comprises an attribute value filling identifier of the first file attribute;
receiving a first input of a user for filling an identification in the attribute value;
in response to the first input, an attribute value of the first file attribute is determined.
3. The method according to claim 1, wherein the obtaining the attribute value of the first file attribute comprises:
receiving a second input of the user to the second application file;
and responding to the second input, and performing attribute mapping conversion on the attribute value of the second file attribute of the second application file to obtain the attribute value of the first file attribute.
4. The application determination method according to any one of claims 1 to 3, further comprising, before the determining the application included in the first application file according to the target attribute in the first file attributes:
receiving a third input of the attribute identification by the user;
in response to the third input, determining the target attribute of the first file attributes that corresponds to the attribute identification.
5. An application determination apparatus, comprising:
the acquisition module is used for acquiring attribute values of the template file and the first file attribute;
a sending module, configured to send the template file and the attribute value of the first file attribute to a server, where the attribute values of the template file and the first file attribute are used to instruct the server to generate a first application file;
the determining module is used for determining the application contained in the first application file according to the target attribute in the first file attribute;
wherein the first file attribute comprises at least one of: the application version, the application name, the application type, whether to open the popup prompt, the power consumption of the bright screen, and the power consumption of the screen.
6. The application determination apparatus of claim 5, further comprising:
the generating module is used for generating a display page according to the template file, wherein the display page comprises an attribute value filling identifier of the first file attribute;
the first receiving module is used for receiving first input of a user for filling the identification in the attribute value;
the obtaining module is specifically configured to determine an attribute value of the first file attribute in response to the first input.
7. The application determination apparatus of claim 6, further comprising:
the second receiving module is used for receiving second input of the user to the second application file;
the obtaining module is specifically configured to perform attribute mapping conversion on an attribute value of a second file attribute of the second application file in response to the second input, so as to obtain an attribute value of the first file attribute.
8. The application determination device according to any one of claims 5 to 7, further comprising:
the third receiving module is used for receiving a third input of the attribute identifier by the user;
a determining module, configured to determine, in response to the third input, the target attribute corresponding to the attribute identifier in the first file attribute.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, implement the steps of the application determination method as claimed in any one of claims 1 to 4.
10. A readable storage medium on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of the application determination method according to any one of claims 1 to 4.
CN202111183628.6A 2021-10-11 2021-10-11 Application determination method, application determination device, electronic device and readable storage medium Pending CN113868092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111183628.6A CN113868092A (en) 2021-10-11 2021-10-11 Application determination method, application determination device, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111183628.6A CN113868092A (en) 2021-10-11 2021-10-11 Application determination method, application determination device, electronic device and readable storage medium

Publications (1)

Publication Number Publication Date
CN113868092A true CN113868092A (en) 2021-12-31

Family

ID=78998446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111183628.6A Pending CN113868092A (en) 2021-10-11 2021-10-11 Application determination method, application determination device, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN113868092A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819577A (en) * 2012-07-23 2012-12-12 宇龙计算机通信科技(深圳)有限公司 Method and device for controlling function related to file attribute
CN106775707A (en) * 2016-12-12 2017-05-31 北京奇虎科技有限公司 The management method and device of application attribute
CN109062563A (en) * 2018-08-01 2018-12-21 北京百度网讯科技有限公司 Method and apparatus for generating the page
CN109284261A (en) * 2018-10-18 2019-01-29 Oppo广东移动通信有限公司 Using lookup method, device, storage medium and electronic equipment
CN109739481A (en) * 2018-12-11 2019-05-10 北京奇点机智科技有限公司 Generate the method and system of interactive application
JP2019101602A (en) * 2017-11-30 2019-06-24 キヤノンマーケティングジャパン株式会社 Information processing system, and processing method and program thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819577A (en) * 2012-07-23 2012-12-12 宇龙计算机通信科技(深圳)有限公司 Method and device for controlling function related to file attribute
CN106775707A (en) * 2016-12-12 2017-05-31 北京奇虎科技有限公司 The management method and device of application attribute
JP2019101602A (en) * 2017-11-30 2019-06-24 キヤノンマーケティングジャパン株式会社 Information processing system, and processing method and program thereof
CN109062563A (en) * 2018-08-01 2018-12-21 北京百度网讯科技有限公司 Method and apparatus for generating the page
CN109284261A (en) * 2018-10-18 2019-01-29 Oppo广东移动通信有限公司 Using lookup method, device, storage medium and electronic equipment
CN109739481A (en) * 2018-12-11 2019-05-10 北京奇点机智科技有限公司 Generate the method and system of interactive application

Similar Documents

Publication Publication Date Title
CN107690078B (en) Bullet screen information display method, bullet screen information providing method and bullet screen information providing equipment
CN106569800B (en) Front-end interface generation method and device
CN108471376B (en) Data processing method, device and system
CN107172477B (en) Voting method and device
CN108880867A (en) A kind of network equipment collecting method and system
CN106780684B (en) Animation effect realization method and device
CN109947650B (en) Script step processing method, device and system
CN108307106B (en) Image processing method and device and mobile terminal
CN111399819B (en) Data generation method, device, electronic equipment and storage medium
CN112540996A (en) Service data verification method and device, electronic equipment and storage medium
CN111914072A (en) Information interaction method, equipment and device
CN110555171A (en) Information processing method, device, storage medium and system
CN110704030A (en) Interface configuration information generation method and device, electronic equipment and storage medium
CN105335434B (en) Log management method and device and electronic equipment
CN111200648B (en) Service calling method, device, terminal equipment and storage medium
CN113868092A (en) Application determination method, application determination device, electronic device and readable storage medium
CN113467663B (en) Interface configuration method, device, computer equipment and medium
CN113938759A (en) File sharing method and file sharing device
CN114817076A (en) Data processing method, device, equipment, medium and product of vehicle-mounted operating system
CN115017340A (en) Multimedia resource generation method and device, electronic equipment and storage medium
CN114070892A (en) Data transmission method and device
CN108460128B (en) Document management method and device, electronic device and readable storage medium
CN112866475A (en) Image sending method and device and electronic equipment
CN111143805A (en) Operation method and device and electronic equipment
CN111526084A (en) Information processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination