CN110929233A - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN110929233A CN110929233A CN201911157374.3A CN201911157374A CN110929233A CN 110929233 A CN110929233 A CN 110929233A CN 201911157374 A CN201911157374 A CN 201911157374A CN 110929233 A CN110929233 A CN 110929233A
- Authority
- CN
- China
- Prior art keywords
- application
- identifier
- identification
- preset
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 31
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 238000000034 method Methods 0.000 claims abstract description 32
- 238000009434 installation Methods 0.000 claims description 37
- 238000004590 computer program Methods 0.000 claims description 8
- 238000013475 authorization Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the application discloses an information processing method and device. One embodiment of the method comprises: acquiring a related identifier of at least one application, wherein the related identifiers of different applications are different; for an application of the at least one application, determining whether the application is installed on the electronic device based on the correlation identification. According to the scheme provided by the embodiment of the application, the authorization of the user is not required to be obtained, and the applications which are installed on the electronic equipment can be conveniently and accurately determined through the related identification.
Description
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to the technical field of internet, and particularly relates to an information processing method and device.
Background
With the development of information technology, users use electronic devices such as mobile phones more and more frequently. Various applications can be installed on the electronic equipment, and a user can easily download various applications on the electronic equipment.
With the endless application layer, the updating speed of various applications on the electronic device of the user is faster and faster. Users often perform uninstallation and installation operations of applications on electronic devices. Typically, to obtain from the electronic device which applications are installed on it, authorization of the user needs to be obtained.
Disclosure of Invention
The embodiment of the application provides an information processing method and device.
In a first aspect, an embodiment of the present application provides an information processing method, including: acquiring a related identifier of at least one application, wherein the related identifiers of different applications are different; for an application of the at least one application, it is determined whether the application is installed on the electronic device based on the correlation identification.
In a second aspect, an embodiment of the present application provides an information processing apparatus, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is configured to acquire the related identification of at least one application, and the related identifications of different applications are different; a determination unit configured to determine, for an application of the at least one application, whether the application has been installed on the electronic device based on the correlation identifier.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a storage device for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement a method as in any embodiment of the information processing method.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements a method as in any one of the embodiments of the information processing method.
According to the information processing scheme provided by the embodiment of the application, firstly, the related identification of at least one application is obtained, wherein the related identifications of different applications are different. Thereafter, for an application of the at least one application, it is determined whether the application has been installed on the electronic device based on the correlation identification. According to the scheme provided by the embodiment of the application, the authorization of the user is not required to be obtained, and the applications which are installed on the electronic equipment can be conveniently and accurately determined through the related identification.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of an information processing method according to the present application;
FIG. 3 is a flow diagram of yet another embodiment of an information processing method according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of an information processing method according to the present application;
FIG. 5 is a schematic block diagram of one embodiment of an information processing apparatus according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing an electronic device according to some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the information processing method or information processing apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as video applications, live applications, instant messaging tools, mailbox clients, social platform software, and the like, may be installed on the terminal devices 101, 102, and 103.
Here, the terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for the terminal devices 101, 102, 103. The background server may analyze and perform other processing on the received data such as the relevant identifier acquisition request, and feed back a processing result (e.g., the relevant identifier) to the terminal device.
It should be noted that the information processing method provided in the embodiment of the present application may be executed by the terminal devices 101, 102, and 103, and accordingly, the information processing apparatus may be disposed in the terminal devices 101, 102, and 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of an information processing method according to the present application is shown. The information processing method comprises the following steps:
In this embodiment, an execution subject of the information processing method (e.g., the terminal device shown in fig. 1) may acquire the relevant identifier of at least one application. The at least one application may include an application installed on the electronic device, and may also include an application other than the application installed on the electronic device. The relevant identification of an application may refer to any identification that can be used to distinguish the application from other applications. For example, the associated identification of the application may be an icon of the application. In practice, the relevant identifier obtained by the execution main body may be content pushed by the server to the electronic device, or may be content fed back by the server after the electronic device sends a relevant identifier obtaining request to the server through a preset interface.
In some optional implementations of this embodiment, the obtained relevant identifier of the at least one application includes an identifier of an application in the at least one application, and/or an identifier of a preset component of the application in the at least one application.
In these alternative implementations, the relevant identifier of the application obtained by the execution main body may be an identifier of the application, for example, a package name of the application. In addition, the identifier of the preset component in the application can be used. The preset component here may be at least one of: activity, Content Provider, Service.
The implementation manners can accurately determine whether the application is installed on the electronic equipment or not through the application identifier and the identifier of the preset component in the application.
For an application of the at least one application, it is determined whether the application is installed on the electronic device based on the relevant identifier, step 202.
In this embodiment, the execution subject may determine, for an application of the at least one application, whether the application is installed in the electronic device. In practice, the execution subject may determine whether the application is already installed in the electronic device based on the relevant identifier in various ways. For example, the execution subject may determine whether the specific information corresponding to the relevant identifier exists locally, and in a case where it is determined that the specific information exists, determine that the application is installed. For example, the specific information may be log information of the application.
The method provided by the above embodiment of the application does not need to obtain the authorization of the user, that is, the applications that have been installed in the electronic device can be conveniently and accurately determined through the relevant identification.
In some optional implementations of this embodiment, after step 202, the method may further include: if the application is determined to be installed on the electronic equipment, responding to the fact that the identification of the application is not in the installation list of the electronic equipment, and adding the identification of the application into the installation list of the electronic equipment; and if the application is determined not to be installed in the electronic equipment, responding to the identifier of the application in the installation list of the electronic equipment, and deleting the identifier of the application in the installation list.
In these alternative implementations, in response to that the identifier of the application is not in the installation list of the electronic device, if the execution main body determines that the application is already installed in the electronic device, the identifier of the application may be added to the installation list of the electronic device. If the execution main body determines that the application is not installed in the electronic device and the identifier of the application exists in the installation list of the electronic device, the execution main body may delete the identifier of the application from the installation list. Specifically, the installation list may record an identifier of an application installed in the electronic device. The steps in these implementations may be performed in a target application installed in the present device.
In practice, the executing entity may determine whether each application in at least one application is installed on the electronic device by using the solution of the present application, and create an identification list of applications that have been installed on the electronic device as an installation list of the electronic device. If the electronic device newly installs an application or uninstalls an application, the execution subject may update the installation list.
The implementation modes can maintain an installation list at the target application, indicate which applications are installed by the electronic equipment, and ensure the accuracy of the installation list through updating.
In some optional implementation manners of this embodiment, the electronic device is installed with a target application; step 201 may include: responding to the running of the target application, and acquiring a relevant identifier of at least one application in the target application; and step 202, may include: and determining whether the application is installed on the electronic equipment or not for the application in the at least one application at the target application based on the relevant identification.
In these alternative implementations, the execution subject may execute the solution of the present application in a target application. Specifically, the execution subject executes the above scheme at the target application, which requires the target application to be running.
The implementation modes can execute the scheme of the application in one application, so that the installation condition of each application on the device can be known in one application.
In some optional application scenarios of these implementations, step 201 may include: and responding to the starting of the target application, sending preset information to the server at the target application, and receiving a list updating instruction which is returned by the server and carries at least one application relevant identifier.
In these optional application scenarios, the execution main body may send preset information to the server after the target application is started, so that the server may return a list update instruction to the execution main body according to the preset information, thereby triggering the execution main body to execute the step of determining whether the application is already installed in the electronic device. Specifically, the list update instruction may carry the relevant identifier of the at least one application. The list update instruction may instruct the execution main body to perform a step of determining again whether the application is installed in the electronic device, thereby updating the installation list.
The preset information may be information sent by the target application for data interaction with the server when the target application is started. For example, the preset information may be an application data update request or the like.
The application scenes can trigger and determine the target application installed on the electronic equipment through the starting of the target application, so that whether the application is installed on the electronic equipment is monitored in time when the target application is started, and the updating of the installation list is realized.
In some optional application scenarios of these implementations, before step 202, the method may further include: judging whether the target application has the authority of acquiring an installation list of the electronic equipment; and step 202 may comprise: and if the target application does not have the authority of acquiring the installation list of the electronic equipment, determining whether the application is installed on the electronic equipment or not based on the relevant identification for the application in at least one application.
In these optional application scenarios, the execution subject may determine whether the target application has a right to acquire an installation list of the electronic device. That is, it is determined whether the execution main body can directly obtain the installation list of the electronic device in the target application. If the electronic device has the authority, the electronic device can directly acquire the installation list in the target application. If the application does not have the authority, whether the application is installed on the electronic device needs to be judged through the relevant identification of the application.
These application scenarios may first determine whether the installation list can be directly obtained by the target application, thereby avoiding an invalid determination process of the installation list in the case where the installation list can be directly obtained.
With further reference to FIG. 3, a flow 300 of yet another embodiment of an information processing method is shown. The process 300 of the information processing method includes the following steps:
In this embodiment, an execution subject of the information processing method (e.g., the terminal device shown in fig. 1) may acquire the relevant identifier of at least one application. The obtained related identification of the at least one application comprises identification of applications in the at least one application. The at least one application may include an application installed on the electronic device, and may also include an application other than the application installed on the electronic device. The relevant identification of an application may refer to any identification that can be used to distinguish the application from other applications.
In this embodiment, the execution main body may determine, for any application in the at least one application, whether the application locally has a preset authority. In practice, the number of preset rights may be at least one. The execution subject may determine whether the application has any one of the at least one preset right locally.
Specifically, the preset authority here may be an authority necessary for running the application, and if the application does not have the authority, the application cannot achieve normal running. For example, the preset authority may be at least one of: networking right, device Identification (ID) acquisition right and device Mac address acquisition right. The rights that an application has may refer to the rights that the electronic device can implement in the installed application.
In practice, the execution subject may determine whether the application has a preset right locally in various ways. For example, the execution main body may directly obtain the authority information corresponding to the package name of a certain application from the system information, for example, if the authority information is "0", it indicates that the application has the preset authority, and if the authority information is "1", it indicates that the application does not have the preset authority. In addition, the execution subject may send a request for acquiring the authority information of a certain application to the system at the target application. And determining whether the certain application has the preset authority or not according to the authority information returned by the system.
In this embodiment, in a case that there is one preset authority of the application, if the application locally has the preset authority, the execution main body may determine that the application is installed in the electronic device. In the case that there are a plurality of preset permissions for the application, if the application locally has one or more preset permissions, it may be determined that the application is installed on the electronic device.
The embodiment can quickly and accurately determine that the application is locally installed under the condition that the application has any necessary authority to run.
With further reference to FIG. 4, a flow 400 of yet another embodiment of an information processing method is shown. The flow 400 of the information processing method includes the following steps:
In this embodiment, an execution subject of the information processing method (e.g., the terminal device shown in fig. 1) may acquire the relevant identifier of at least one application. The obtained related identification of the at least one application comprises identification of applications in the at least one application. The at least one application may include an application installed on the electronic device, and may also include an application other than the application installed on the electronic device. The relevant identification of an application may refer to any identification that can be used to distinguish the application from other applications.
In this embodiment, the execution subject may determine whether an identifier of any one of the preset components of the application exists locally. The number of preset components of the application may be one or more than two. Specifically, the execution subject may sequentially (or randomly) determine whether the acquired identifier of each preset component exists locally. The sequential (or random) determination process may be stopped once it is determined that the identity of a certain preset component exists locally.
In step 403, if the identifier of any preset component exists locally, it is determined that the application is installed in the electronic device.
In this embodiment, as long as the identifier of the preset component of the application exists locally, the execution main body may determine that the application is installed in the electronic device regardless of the number of the identifiers of the preset components.
The embodiment can quickly and accurately determine whether the application is installed locally or not by judging whether the application has the identifier of the preset component of the application locally or not.
In some optional implementations of this embodiment, the method further includes: if the identifier of any preset component does not exist locally, judging whether the application in the at least one application has any preset authority in preset authorities locally based on the identifier of the application, wherein the preset authority comprises necessary authority for running the application; and if the application has any preset authority locally, determining that the application is installed in the electronic equipment.
In these alternative implementations, if the determination result in step 402 is that the identifier of any preset component does not exist locally, step 302 and step 303 may be executed.
According to the implementation modes, whether the application is installed or not can be determined in a mode of determining the preset authority under the condition that the identification of any preset component does not exist locally, so that whether the application is installed or not can be determined from other aspects under the condition that the preset component is found to be wrong, and the determination accuracy is improved.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present application provides an embodiment of an information processing apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which may include the same or corresponding features or effects as the embodiment of the method shown in fig. 2, in addition to the features described below. The device can be applied to various electronic equipment.
As shown in fig. 5, the information processing apparatus 500 of the present embodiment includes: an acquisition unit 501 and a determination unit 502. The obtaining unit 501 is configured to obtain a correlation identifier of at least one application, where correlation identifiers of different applications are different; a determining unit 502 configured to determine, for an application of the at least one application, whether the application has been installed on the electronic device based on the correlation identifier.
In some embodiments, the obtaining unit 501 of the information processing apparatus 500 may obtain the relevant identification of at least one application. The at least one application may include an application installed on the electronic device, and may also include an application other than the application installed on the electronic device. The relevant identification of an application may refer to any identification that can be used to distinguish the application from other applications. For example, the associated identification of the application may be an icon of the application.
In some embodiments, the determining unit 502 may determine, for an application of the at least one application, whether the application is already installed on the electronic device. In practice, the execution subject may determine whether the application is already installed in the electronic device based on the relevant identifier in various ways.
In some optional implementations of this embodiment, the obtained relevant identifier of the at least one application includes an identifier of an application in the at least one application, and/or an identifier of a preset component of the application in the at least one application.
In some optional implementations of this embodiment, the obtained relevant identifier includes an identifier of a preset component of an application in at least one application; the determining unit is further configured to execute, for an application of the at least one application, determining whether the application has been installed on the electronic device based on the correlation identification, as follows: for an application in at least one application, judging whether the obtained identifier of any one preset component in the preset components of the application exists locally; and if the identification of any preset component exists locally, determining that the application is installed in the electronic equipment.
In some optional implementations of this embodiment, the obtained relevant identifier of the at least one application includes an identifier of an application in the at least one application; the determining unit is further configured to execute, for an application of the at least one application, determining whether the application has been installed on the electronic device based on the correlation identification, as follows: for an application in at least one application, judging whether the application locally has any preset authority in preset authorities or not based on the identification of the application, wherein the preset authority comprises the necessary authority for running the application; and if the application locally has any preset authority, determining that the application is installed in the electronic equipment.
In some optional implementations of the embodiment, the determining unit is further configured to, for an application of the at least one application, determine whether the application is installed on the electronic device based on the relevant identifier as follows: if the identification of any preset component does not exist locally, judging whether the application in at least one application has any preset authority in preset authorities locally based on the identification of the application, wherein the preset authority comprises necessary authority for running the application; and if the application locally has any preset authority, determining that the application is installed in the electronic equipment.
In some optional implementations of this embodiment, the apparatus further includes: the joining unit is configured to, after determining whether the application is installed on the electronic device based on the relevant identification for the application in the at least one application, join the identification of the application into an installation list of the electronic device in response to the identification of the application not being in the installation list of the electronic device if the application is determined to be installed on the electronic device; and the deleting unit is configured to delete the identification of the application in the installation list in response to the identification of the application being in the installation list of the electronic equipment if the application is determined not to be installed in the electronic equipment after determining whether the application is installed on the electronic equipment based on the relevant identification for the application in at least one application.
In some optional implementations of this embodiment, the electronic device is installed with a target application; the obtaining unit is further configured to perform obtaining the relevant identity of the at least one application as follows: responding to the running of the target application, and acquiring a relevant identifier of at least one application in the target application; and the determining unit is further configured to execute, for an application of the at least one application, determining whether the application has been installed on the electronic device based on the correlation identification as follows: and determining whether the application is installed on the electronic equipment or not for the application in the at least one application at the target application based on the relevant identification.
In some optional implementations of this embodiment, the obtaining unit is further configured to perform obtaining the relevant identifier of the at least one application as follows: and responding to the starting of the target application, sending preset information to the server, and receiving a list updating instruction which is returned by the server and carries at least one application relevant identifier.
In some optional implementations of this embodiment, the method further includes: a judging unit configured to judge whether a target application has an authority to acquire an installation list of the electronic device before determining whether the application is installed on the electronic device based on the relevant identification for the application in the at least one application; and a determining unit, further configured to execute, for an application of the at least one application, determining whether the application is installed on the electronic device based on the correlation identifier as follows: and if the target application does not have the authority of acquiring the installation list of the electronic equipment, determining whether the application is installed on the electronic equipment or not based on the relevant identification for the application in at least one application.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; a storage device 608; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure. It should be noted that the computer readable medium of the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
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 application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, 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 units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit and a determination unit. Where the names of these units do not in some cases constitute a limitation of the unit itself, for example, the obtaining unit may also be described as a "unit for obtaining the relevant identification of at least one application".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: acquiring a related identifier of at least one application, wherein the related identifiers of different applications are different; for an application of the at least one application, it is determined whether the application is installed on the electronic device based on the correlation identification.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
Claims (11)
1. An information processing method for an electronic device, the method comprising:
acquiring a related identifier of at least one application, wherein the related identifiers of different applications are different;
and determining whether the application is installed on the electronic equipment or not based on the related identification for the application in the at least one application.
2. The method according to claim 1, wherein the obtained related identifier of the at least one application comprises an identifier of an application in the at least one application and/or an identifier of a preset component of an application in the at least one application.
3. The method of claim 2, wherein the obtained related identification comprises an identification of a preset component of an application in the at least one application; the determining, for an application of the at least one application, whether the application is installed on the electronic device based on the relevant identifier includes:
for the application in the at least one application, judging whether the obtained identifier of any one preset component in the preset components of the application exists locally;
and if the identification of any preset component exists locally, determining that the application is installed in the electronic equipment.
4. The method according to claim 2, wherein the obtained related identification of at least one application comprises an identification of an application in the at least one application; the determining, for an application of the at least one application, whether the application is installed on the electronic device based on the relevant identifier includes:
for the application in the at least one application, judging whether the application locally has any preset authority in preset authorities or not based on the identification of the application, wherein the preset authority comprises the necessary authority for running the application;
and if the application has any preset authority locally, determining that the application is installed in the electronic equipment.
5. The method of claim 3, wherein the determining, for an application of the at least one application, whether the application is installed on the electronic device based on the correlation identifier further comprises:
if the identifier of any preset component does not exist locally, judging whether the application in the at least one application has any preset authority in preset authorities locally based on the identifier of the application, wherein the preset authority comprises necessary authority for running the application;
and if the application has any preset authority locally, determining that the application is installed in the electronic equipment.
6. The method of claim 1, wherein after said determining, for an application of the at least one application, whether the application has been installed on the electronic device based on the correlation identifier, the method further comprises:
if the application is determined to be installed in the electronic equipment, responding to the fact that the application identification is not in the installation list of the electronic equipment, and adding the application identification into the installation list of the electronic equipment;
and if the application is determined not to be installed in the electronic equipment, responding to the application identifier in the installation list of the electronic equipment, and deleting the application identifier in the installation list.
7. The method of claim 1, wherein the obtaining the relevant identity of the at least one application comprises:
responding to the running of the target application, and acquiring a relevant identifier of at least one application in the target application; and
the determining, for an application of the at least one application, whether the application is installed on the electronic device based on the relevant identifier includes:
and determining whether the application is installed on the electronic equipment or not for the application in the at least one application based on the relevant identification at the target application.
8. The method of claim 7, wherein the obtaining the relevant identification of the at least one application comprises:
and responding to the starting of the target application, sending preset information to a server at the target application, and receiving a list updating instruction which is returned by the server and carries the relevant identification of the at least one application.
9. The method of claim 7, wherein prior to said determining, for an application of the at least one application, whether the application has been installed on the electronic device based on the correlation identifier, the method further comprises:
judging whether the target application has the authority of acquiring the installation list of the electronic equipment; and
the determining, for an application of the at least one application, whether the application is installed on the electronic device based on the relevant identifier includes:
and if the target application does not have the authority of acquiring the installation list of the electronic equipment, determining whether the application is installed on the electronic equipment or not based on the relevant identification for the application in the at least one application.
10. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-9.
11. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911157374.3A CN110929233B (en) | 2019-11-22 | 2019-11-22 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911157374.3A CN110929233B (en) | 2019-11-22 | 2019-11-22 | Information processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110929233A true CN110929233A (en) | 2020-03-27 |
CN110929233B CN110929233B (en) | 2022-11-15 |
Family
ID=69850788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911157374.3A Active CN110929233B (en) | 2019-11-22 | 2019-11-22 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110929233B (en) |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257866A (en) * | 2012-02-20 | 2013-08-21 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and application program management method |
CN104239784A (en) * | 2014-09-09 | 2014-12-24 | 北京奇虎科技有限公司 | Method for detecting applications installed in system, and client |
CN104424423A (en) * | 2013-08-28 | 2015-03-18 | 华为终端有限公司 | Method and device for determining authorities of application program |
CN104750517A (en) * | 2015-03-09 | 2015-07-01 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104885432A (en) * | 2013-08-29 | 2015-09-02 | 宇龙计算机通信科技(深圳)有限公司 | Server and file sharing method |
CN106529280A (en) * | 2016-10-20 | 2017-03-22 | 乐视控股(北京)有限公司 | Method and device for controlling VPN application of mobile equipment |
CN107390994A (en) * | 2017-07-31 | 2017-11-24 | 北京京东尚科信息技术有限公司 | Interface presentation and device |
CN107423617A (en) * | 2017-03-29 | 2017-12-01 | 珠海市魅族科技有限公司 | Application rights management method and device |
CN107526580A (en) * | 2016-07-26 | 2017-12-29 | 腾讯科技(深圳)有限公司 | Terminal applies recognition methods and device |
CN108270786A (en) * | 2018-01-16 | 2018-07-10 | 广东欧珀移动通信有限公司 | Right management method, device, storage medium and the intelligent terminal of application program |
CN108280342A (en) * | 2017-01-03 | 2018-07-13 | 北京搜狗科技发展有限公司 | Using synchronous method with device, for applying synchronous device |
CN108399073A (en) * | 2018-01-26 | 2018-08-14 | 广东欧珀移动通信有限公司 | Information displaying method, device, server and computer-readable medium |
CN108829408A (en) * | 2018-06-19 | 2018-11-16 | 北京金山安全软件有限公司 | APP identification method and device, electronic equipment and medium |
CN109189591A (en) * | 2018-08-30 | 2019-01-11 | 百度在线网络技术(北京)有限公司 | Method and apparatus for calling application component |
CN109325363A (en) * | 2018-09-26 | 2019-02-12 | 平安普惠企业管理有限公司 | Management method, device, computer equipment and the storage medium of authority information |
CN109614212A (en) * | 2018-12-05 | 2019-04-12 | 北京达佳互联信息技术有限公司 | Using starting method, apparatus, terminal and storage medium |
CN109740307A (en) * | 2018-12-27 | 2019-05-10 | 上海碳蓝网络科技有限公司 | A rights management method and device |
CN109815680A (en) * | 2018-12-27 | 2019-05-28 | 歌尔股份有限公司 | Management method, device, terminal device and the storage medium of application permission |
CN109995877A (en) * | 2019-04-12 | 2019-07-09 | 上海连尚网络科技有限公司 | Information-pushing method and device |
CN110008758A (en) * | 2019-03-29 | 2019-07-12 | 北京金山安全软件有限公司 | ID obtaining method and device, electronic equipment and storage medium |
CN110321738A (en) * | 2019-07-10 | 2019-10-11 | 上海掌门科技有限公司 | Information processing method and device |
-
2019
- 2019-11-22 CN CN201911157374.3A patent/CN110929233B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257866A (en) * | 2012-02-20 | 2013-08-21 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and application program management method |
CN104424423A (en) * | 2013-08-28 | 2015-03-18 | 华为终端有限公司 | Method and device for determining authorities of application program |
CN104885432A (en) * | 2013-08-29 | 2015-09-02 | 宇龙计算机通信科技(深圳)有限公司 | Server and file sharing method |
CN104239784A (en) * | 2014-09-09 | 2014-12-24 | 北京奇虎科技有限公司 | Method for detecting applications installed in system, and client |
CN104750517A (en) * | 2015-03-09 | 2015-07-01 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN107526580A (en) * | 2016-07-26 | 2017-12-29 | 腾讯科技(深圳)有限公司 | Terminal applies recognition methods and device |
CN106529280A (en) * | 2016-10-20 | 2017-03-22 | 乐视控股(北京)有限公司 | Method and device for controlling VPN application of mobile equipment |
CN108280342A (en) * | 2017-01-03 | 2018-07-13 | 北京搜狗科技发展有限公司 | Using synchronous method with device, for applying synchronous device |
CN107423617A (en) * | 2017-03-29 | 2017-12-01 | 珠海市魅族科技有限公司 | Application rights management method and device |
CN107390994A (en) * | 2017-07-31 | 2017-11-24 | 北京京东尚科信息技术有限公司 | Interface presentation and device |
CN108270786A (en) * | 2018-01-16 | 2018-07-10 | 广东欧珀移动通信有限公司 | Right management method, device, storage medium and the intelligent terminal of application program |
CN108399073A (en) * | 2018-01-26 | 2018-08-14 | 广东欧珀移动通信有限公司 | Information displaying method, device, server and computer-readable medium |
CN108829408A (en) * | 2018-06-19 | 2018-11-16 | 北京金山安全软件有限公司 | APP identification method and device, electronic equipment and medium |
CN109189591A (en) * | 2018-08-30 | 2019-01-11 | 百度在线网络技术(北京)有限公司 | Method and apparatus for calling application component |
CN109325363A (en) * | 2018-09-26 | 2019-02-12 | 平安普惠企业管理有限公司 | Management method, device, computer equipment and the storage medium of authority information |
CN109614212A (en) * | 2018-12-05 | 2019-04-12 | 北京达佳互联信息技术有限公司 | Using starting method, apparatus, terminal and storage medium |
CN109740307A (en) * | 2018-12-27 | 2019-05-10 | 上海碳蓝网络科技有限公司 | A rights management method and device |
CN109815680A (en) * | 2018-12-27 | 2019-05-28 | 歌尔股份有限公司 | Management method, device, terminal device and the storage medium of application permission |
CN110008758A (en) * | 2019-03-29 | 2019-07-12 | 北京金山安全软件有限公司 | ID obtaining method and device, electronic equipment and storage medium |
CN109995877A (en) * | 2019-04-12 | 2019-07-09 | 上海连尚网络科技有限公司 | Information-pushing method and device |
CN110321738A (en) * | 2019-07-10 | 2019-10-11 | 上海掌门科技有限公司 | Information processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110929233B (en) | 2022-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109995877B (en) | Information pushing method and device | |
CN110069919B (en) | Information acquisition method and device | |
CN109582873B (en) | Method and device for pushing information | |
CN110377440B (en) | Information processing method and device | |
CN112748962B (en) | Application loading method, device, electronic equipment and computer readable medium | |
CN110007936B (en) | Data processing method and device | |
CN110928770B (en) | Software testing method, device, system, storage medium and electronic equipment | |
CN111813685B (en) | Automatic test method and device | |
CN109828830B (en) | Method and apparatus for managing containers | |
CN109144677B (en) | Keep-alive process method and device for android system | |
CN110046000B (en) | Small program running method and device | |
CN110430292B (en) | Method and device for inviting login of network platform, electronic equipment and readable medium | |
US11588822B2 (en) | Right control method and apparatus for terminal device | |
CN110543604A (en) | information processing method and device | |
CN109218338B (en) | Information processing system, method and device | |
CN113296828A (en) | Method, server and system for issuing application | |
CN110929233B (en) | Information processing method and device | |
CN111046371A (en) | Method, electronic device and computer-readable medium for generating device identification | |
CN111818179A (en) | User request processing method and device, computing equipment and medium | |
CN112257039B (en) | Identity attribute adding method and device and electronic equipment | |
CN109669679B (en) | Service detection and processing method and device and electronic equipment | |
CN111367592B (en) | Information processing method and device | |
CN111324386B (en) | Method and device for starting split application program, electronic equipment and storage medium | |
CN111786936A (en) | Method and device for authentication | |
CN112905355A (en) | Method, apparatus, and computer storage medium for information processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |