CN105468640B - A kind of information processing method and device - Google Patents

A kind of information processing method and device Download PDF

Info

Publication number
CN105468640B
CN105468640B CN201410455788.5A CN201410455788A CN105468640B CN 105468640 B CN105468640 B CN 105468640B CN 201410455788 A CN201410455788 A CN 201410455788A CN 105468640 B CN105468640 B CN 105468640B
Authority
CN
China
Prior art keywords
application program
electronic device
instruction
program
analysis result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410455788.5A
Other languages
Chinese (zh)
Other versions
CN105468640A (en
Inventor
侯伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410455788.5A priority Critical patent/CN105468640B/en
Publication of CN105468640A publication Critical patent/CN105468640A/en
Application granted granted Critical
Publication of CN105468640B publication Critical patent/CN105468640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of information processing method and device, one of information processing method, comprising: receives the first instruction that the second electronic equipment is sent, the first instruction, which is used to indicate, obtains predetermined content from the application program of the first electronic equipment;The first instruction of parsing, obtains parsing result;Qualified application program is searched from the first electronic equipment according to parsing result, and the file content with the first instructions match is extracted from application program;File content is sent to the second electronic equipment.From above-mentioned technical proposal it can be seen that, the file content of the application program of itself installation can be sent to the second electronic equipment by the first electronic equipment, have changed the mode that the second electronic equipment obtains application program, not disclosing on network in this way but being mounted on the private application program on the first electronic equipment can still be obtained by the second electronic equipment, reduce and obtain difficulty.

Description

Information processing method and device
Technical Field
The present invention relates to the field of application program technologies, and in particular, to an information processing method and apparatus.
Background
With the wide use of the android operating system, more and more applications are developed for the operating system, wherein the malicious applications are not lacked and can be implanted with advertisements, and when the malicious applications are run on the electronic device, the advertisements implanted in the malicious applications can be automatically popped up and occupy device resources.
In addition to placing advertisements in malicious applications, a charging component may also be placed in the malicious application. When a malicious application is running on the electronic device, the embedded charging component automatically starts and deducts account charges in a SIM (Subscriber Identity Module) card installed in the electronic device without the user's knowledge.
Therefore, in the prior art, the harm of malicious application programs is reduced by adopting a mode of installing a web crawler on a search engine, which specifically includes: the network crawler acquires the malicious application program on the network, and after the malicious application program is acquired, the acquired malicious application program is deleted from the network, so that the probability of the malicious application program being retrieved can be reduced. However, some malicious applications appear in non-public channels at present, and due to the fact that the non-public rows of the channels cause that the web crawlers are difficult to acquire the malicious applications in the non-public channels, the acquisition difficulty is improved.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information processing method and apparatus, which change acquiring an application program from a network into acquiring the application program from an electronic device, so as to reduce the difficulty of acquiring the application program, and the technical scheme is as follows:
in one aspect, an embodiment of the present invention provides an information processing method, which is applied to a first electronic device, where the first electronic device is in communication connection with a second electronic device, and the information processing method includes:
receiving a first instruction sent by the second electronic device, wherein the first instruction is used for instructing to acquire predetermined content from an application program of the first electronic device;
analyzing the first instruction to obtain an analysis result;
searching an application program meeting the condition from the first electronic equipment according to the analysis result, and extracting file content matched with the first instruction from the application program;
and sending the file content to the second electronic equipment.
Preferably, searching for an application program meeting the condition from the first electronic device according to the analysis result, and extracting the file content matched with the first instruction from the application program, includes:
extracting a program identifier of an application program to be acquired and an application program paragraph to be acquired from the analysis result;
acquiring an application program with the program identifier in the first electronic equipment;
the application program paragraph is extracted from the application program having the program identification.
Preferably, the first instruction is an instruction for acquiring predetermined content, which is generated according to a list in the second electronic device, where the list is used to record an identifier of the first electronic device for installing the application program.
Preferably, the method further comprises:
and receiving an analysis result fed back by the second electronic device, and generating prompt information according to the received analysis result, wherein the prompt information is used for identifying the application program which is found by the first electronic device and meets the condition.
On the other hand, an embodiment of the present invention provides an information processing method, which is applied to a second electronic device, where the second electronic device is in communication connection with at least one first electronic device, and the information processing method includes:
generating a first instruction, wherein the first instruction is used for instructing to acquire predetermined content from an application program of the first electronic equipment;
sending the first instruction to the first electronic device;
and receiving file content uploaded by the first electronic device, and obtaining the application program according to the file content, wherein the file content is content which is obtained by the first electronic device according to the first instruction and is matched with the first instruction.
Preferably, the method further comprises: acquiring a device identifier of the first electronic device and a program identifier of an application program installed in the first electronic device;
and respectively establishing an equipment list for each application program according to the program identification, wherein the equipment list is used for recording the equipment identification of the first electronic equipment provided with the same application program.
Preferably, the generating the first instruction comprises: determining a device list in the second electronic device according to the application program pointed by the first instruction;
and a first instruction for acquiring the preset content is generated according to the list in the second electronic equipment.
Preferably, the second electronic device is in communication connection with a plurality of the first electronic devices;
receiving the file content uploaded by the first electronic device, and obtaining the application program according to the file content comprises:
receiving an application program paragraph uploaded by each first electronic device, wherein the application program paragraph is a part of the content of the application program acquired by the first electronic device according to the first instruction;
acquiring the sequence of each application program section in the application program;
and integrating the application program paragraphs according to the sequence to obtain the application program.
Preferably, the method further comprises: analyzing the obtained application program to obtain an analysis result, wherein the analysis result is used for identifying the obtained application program;
and sending the analysis result to the first electronic equipment.
In another aspect, an embodiment of the present invention further provides an information processing apparatus, which is applied to a first electronic device, where the first electronic device is in communication connection with a second electronic device, and the information processing apparatus includes:
a receiving unit, configured to receive a first instruction sent by the second electronic device, where the first instruction is used to instruct to acquire predetermined content from an application program of the first electronic device;
the analysis unit is used for analyzing the first instruction to obtain an analysis result;
the searching unit is used for searching the application program meeting the conditions from the first electronic equipment according to the analysis result;
the extracting unit is used for extracting file contents matched with the first instruction from the application program;
and the sending unit is used for sending the file content to the second electronic equipment.
Preferably, the searching unit searching for the application meeting the condition from the first electronic device according to the analysis result includes: extracting a program identifier of an application program to be acquired from the analysis result, and acquiring the application program with the program identifier in the first electronic device;
the extracting unit extracts the file content matched with the first instruction from the application program, and comprises the following steps: and extracting the application program paragraph to be acquired from the analysis result, and extracting the application program paragraph from the application program with the program identification.
Preferably, the first instruction is an instruction for acquiring predetermined content, which is generated according to a list in the second electronic device, where the list is used to record an identifier of the first electronic device for installing the application program.
Preferably, the receiving unit is further configured to receive an analysis result fed back by the second electronic device;
the device further comprises: and the generating unit is used for generating prompt information according to the received analysis result, wherein the prompt information is used for identifying the application program which is found by the first electronic equipment and meets the condition.
In another aspect, an embodiment of the present invention provides an information processing apparatus, which is applied to a second electronic device, where the second electronic device is in communication connection with at least one first electronic device, and the information processing apparatus includes:
an instruction generating unit, configured to generate a first instruction, where the first instruction is used to instruct to acquire predetermined content from an application program of the first electronic device;
a sending unit, configured to send the first instruction to the first electronic device;
the receiving unit is used for receiving file content uploaded by the first electronic device, wherein the file content is content which is acquired by the first electronic device according to the first instruction and is matched with the first instruction;
and the program generating unit is used for obtaining the application program according to the file content.
Preferably, the apparatus further comprises:
an acquisition unit configured to acquire a device identifier of the first electronic device and a program identifier of an application program installed in the first electronic device;
and the list establishing unit is used for respectively establishing an equipment list for each application program according to the program identification, wherein the equipment list is used for recording the equipment identification of the first electronic equipment provided with the same application program.
Preferably, the instruction generating unit generating the first instruction includes: determining a device list in the second electronic device according to the application program pointed by the first instruction, and generating a first instruction for acquiring preset content according to the list in the second electronic device.
Preferably, the second electronic device is in communication connection with a plurality of the first electronic devices;
the receiving unit receives the file content uploaded by the first electronic device, and the receiving unit comprises: receiving an application program paragraph uploaded by each first electronic device, wherein the application program paragraph is a part of the content of the application program acquired by the first electronic device according to the first instruction;
the obtaining, by the program generating unit, the application program according to the file content includes: and acquiring the sequence of each application program section in the application program, and integrating the application program sections according to the sequence to obtain the application program.
Preferably, the apparatus further comprises: the analysis unit is used for analyzing the obtained application program to obtain an analysis result, and the analysis result is used for identifying the obtained application program;
the sending unit sends the analysis result to the first electronic device.
As can be seen from the foregoing technical solutions, according to the information processing method and apparatus provided in the embodiments of the present invention, based on the first instruction, the application program meeting the condition is searched from the first electronic device, the file content matched with the first instruction is extracted from the application program, then the matched file content is sent to the second electronic device, and the second electronic device obtains the application program according to the matched file content. The embodiment of the invention changes the acquisition of the application program from the network into the acquisition of the application program from the electronic equipment, the disclosed application program and the non-public application program are generally installed in different electronic equipment, and compared with the condition that the existing web crawler cannot acquire the non-public application program, the embodiment of the invention can also acquire the non-public application program from the electronic equipment, thereby reducing the acquisition difficulty of the application program.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present invention;
fig. 2 is another flowchart of an information processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another information processing method according to an embodiment of the present invention;
FIG. 4 is a flowchart of another information processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an information processing apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another structure of an information processing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another information processing apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of another information processing apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of another information processing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an information processing system according to an embodiment of the present invention.
Detailed Description
At present, application programs (public application programs and non-public application programs) developed by various developers are generally installed in different electronic devices, and based on this premise, one of the core ideas of the information processing method and apparatus provided by the embodiment of the present invention is as follows: the method has the advantages that the application program is obtained from the network instead of the electronic equipment, so that the non-public application program can be obtained from the electronic equipment, and compared with the situation that the existing web crawler cannot obtain the non-public application program, the difficulty in obtaining the application program is reduced.
For better understanding of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of an information processing method according to an embodiment of the present invention is shown, where the information processing method is applied to a first electronic device, and the first electronic device is communicatively connected to a second electronic device, that is, the first electronic device and the second electronic device may be connected via a network and perform data communication. The information processing method shown in fig. 1 may include the following steps:
101: and receiving a first instruction sent by the second electronic equipment, wherein the first instruction is used for instructing to acquire the predetermined content from the application program of the first electronic equipment.
In the embodiment of the present invention, when a second electronic device wants to obtain an application program from a first electronic device, the second electronic device first generates a first instruction for instructing to obtain predetermined content from the application program of the first electronic device, and sends the first instruction to the first electronic device.
Since a certain application program can be installed by at least one electronic device, the second electronic device sends a program identifier uploading instruction in advance to instruct the first electronic device to upload the program identifier of the application program installed in the second electronic device, and records the device identifier of the first electronic device with the same program identifier and the program identifier of the corresponding application program as the first electronic device identifier in the same list. The second electronic device can then generate first instructions for obtaining the predetermined content from the list, and determine to which first electronic devices the first instructions are to be sent in dependence on the program identification and the device identification of the application.
When an application identified by a program is installed in only one first electronic device, the second electronic device may request the first electronic device installed with the application to transmit the entire content of the application; when an application identified by a program is installed in a plurality of first electronic devices, the second electronic device can selectively select which first electronic devices transmit contents, and the selective transmission can be: and selecting one of the first electronic devices to transmit the whole content of the application program, or selecting a part of the first electronic devices to transmit part of the content of the application program respectively. The method specifically comprises the following steps:
firstly, the second electronic equipment determines the number of the first electronic equipment for sending the application program; the second electronic device divides the application program into different application program paragraphs according to the determined number, then generates a first instruction according to the internal list of the second electronic device, and sends the first instruction to the first electronic device to instruct the first electronic device to send a certain application program paragraph, wherein the application program paragraph is the specified predetermined content.
The program identifier of the application program may be determined by the package name of the application program, the version number of the application program, and MD5(Message Digest Algorithm, fifth edition). The MD5 is adopted to operate the package name and the version number of the application program to obtain a characteristic value, and for the package name and the version number of different application programs, a unique characteristic value can be obtained through the MD5, so that the characteristic value can be used as a program identifier of the application program.
102: and analyzing the first instruction to obtain an analysis result. Wherein the parsing result is used for indicating which contents are obtained from which application program of the first electronic device, and comprises: a program identification of the application program, which may be a characteristic value of the application program obtained through MD5, and the specified predetermined content indicating which part of the content of the application program is acquired.
103: and searching the application program meeting the conditions from the first electronic equipment according to the analysis result, and extracting the file content matched with the first instruction from the application program.
After the first electronic device obtains the analysis result, the application program with the characteristic value is searched from the first electronic device according to the characteristic value of the characteristic program identifier in the analysis result. And then the first electronic equipment extracts the file content to be acquired from the analysis result and extracts the file content from the searched application program.
One point to be pointed out is: the matched file content is related to the number of first electronic devices which indicate the second electronic device to send the content, and when the number of the first electronic devices is one, the matched file content is the whole content of the application program; when the number of the first electronic devices is multiple, the matched file content is an application program paragraph extracted from the searched application program.
104: and sending the file content to the second electronic equipment.
After receiving the file content, the second electronic device may obtain the application program according to the file content, which may specifically be: when only one first electronic device transmits the whole content of the application program, the second electronic device can directly obtain the application program; when the plurality of first electronic devices respectively send different application program paragraphs, the second electronic device integrates the application program paragraphs to obtain the application program.
According to the technical scheme, the first electronic equipment can send the file content of the application program installed on the first electronic equipment to the second electronic equipment, and the mode that the second electronic equipment acquires the application program is changed, so that the non-public application program which is not disclosed on the network but installed on the first electronic equipment can still be acquired by the second electronic equipment, and the acquisition difficulty is reduced.
After acquiring the application program, the second electronic device analyzes the second electronic device to determine whether the acquired application program is a malicious application program, and feeds back an analysis result to the first electronic device, as shown in fig. 2, on the basis of fig. 1, the information processing method provided by the embodiment of the present invention further includes:
105: and receiving an analysis result fed back by the second electronic equipment. And analyzing the application program obtained from the first electronic equipment by the second electronic equipment to identify whether the obtained application program comprises illegal codes so as to obtain an analysis result for identifying whether the application program is a malicious application program.
106: and generating prompt information according to the received analysis result, wherein the prompt information is used for identifying the application program which is found by the first electronic equipment and meets the condition. In the embodiment of the present invention, the identifier may be to identify whether the application is a malicious application, and the second electronic device may use different identifiers to represent the analysis result, for example, if the number 1 represents that the application is the analysis result of the malicious application, the generated prompt information identifies that the application found by the first electronic device is the malicious application; and the number 0 is used for representing the analysis result that the application program is the legal application program, and the corresponding generated prompt information marks the application program found by the first electronic equipment as the legal application program. Thus, the user using the first electronic device can decide to delete or keep the application program according to the prompt message.
Referring to fig. 3, a flowchart of another information processing method according to an embodiment of the present invention is shown, where the information processing method is applied to a second electronic device, and the second electronic device is communicatively connected to at least one first electronic device, that is, the second electronic device and the at least one first electronic device may be connected via a network and perform data communication, and the information processing method shown in fig. 3 may include the following steps:
301: and generating a first instruction, wherein the first instruction is used for instructing to acquire the preset content from the application program of the first electronic equipment.
302: and sending the first instruction to the first electronic equipment.
In the embodiment of the present invention, when a second electronic device wants to obtain an application program from a first electronic device, the second electronic device first generates a first instruction for instructing to obtain predetermined content from the application program of the first electronic device, and sends the first instruction to the first electronic device.
Since a certain application program can be installed by at least one electronic device, the second electronic device sends a program identifier uploading instruction in advance to instruct the first electronic device to upload the program identifier of the application program installed in the second electronic device, and records the device identifier of the first electronic device with the same program identifier and the program identifier of the corresponding application program as the first electronic device identifier in the same list. The second electronic device can then generate first instructions for obtaining the predetermined content from the list, and determine to which first electronic devices the first instructions are to be sent in dependence on the program identification and the device identification of the application.
Wherein the program identification of the application program can be determined by the package name of the application program, the version number of the application program and MD 5. The MD5 is adopted to operate the package name and the version number of the application program to obtain a characteristic value, and for the package name and the version number of different application programs, a unique characteristic value can be obtained through the MD5, so that the characteristic value can be used as a program identifier of the application program.
303: and receiving file content uploaded by the first electronic equipment, and obtaining an application program according to the file content, wherein the file content is content which is obtained by the first electronic equipment according to the first instruction and is matched with the first instruction.
In the embodiment of the invention, the file content uploaded by the first electronic equipment is related to the number of the first electronic equipment installed with the application program with certain program identification. When an application identified by a program is installed in only one first electronic device, the second electronic device may request the first electronic device installed with the application to upload the entire content of the application; when an application identified by a program is installed in a plurality of first electronic devices, the second electronic device may selectively select which first electronic devices upload content, and the selective transmission may be: and selecting one of the first electronic devices to upload all contents of the application program, or selecting a part of the first electronic devices to upload a part of contents of the application program respectively. The method specifically comprises the following steps:
firstly, the second electronic equipment determines the number of the first electronic equipment for sending the application program; the second electronic device divides the application program into different application program paragraphs according to the determined number, then generates a first instruction according to the internal list of the second electronic device, and sends the first instruction to the first electronic device to instruct the first electronic device to send a certain application program paragraph, wherein the application program paragraph is the specified predetermined content.
When the second electronic device obtains the application program paragraphs from the plurality of first electronic devices, the sequencing of each application program paragraph in the application program is obtained, and then the application program paragraphs are integrated according to the sequencing to obtain the application program.
After acquiring the application program, the second electronic device further analyzes the application program to determine whether the obtained application program is a malicious application program, and feeds back an analysis result to the first electronic device, as shown in fig. 4, and on the basis of fig. 3, the information processing method provided by the embodiment of the present invention further includes:
304: and analyzing the obtained application program to obtain an analysis result. Wherein the analysis result is that the application program obtained from the first electronic equipment is analyzed by the second electronic equipment to identify the obtained application program. The identification may be to identify whether the obtained application includes illegal code, thereby obtaining an analysis result that identifies whether the application is a malicious application. In the embodiment of the present invention, the second electronic device may represent the analysis result by different identifiers, such as the analysis result that the application is a malicious application is represented by numeral 1; the number 0 is used to represent the analysis result of the application program as a legitimate application program.
305: and sending the analysis result to the first electronic equipment.
Corresponding to the foregoing method embodiment, an embodiment of the present invention further provides an information processing apparatus, which is applied to a first electronic device, and the first electronic device is in communication connection with a second electronic device, where a schematic structural diagram of the information processing apparatus in the embodiment of the present invention is shown in fig. 5, and the information processing apparatus may include: a receiving unit 51, a parsing unit 52, a look-up unit 53, an extraction unit 54 and a sending unit 55. Wherein,
a receiving unit 51, configured to receive a first instruction sent by the second electronic device, where the first instruction is used to instruct to acquire predetermined content from an application program of the first electronic device.
In the embodiment of the present invention, when a second electronic device wants to obtain an application program from a first electronic device, the second electronic device first generates a first instruction for instructing to obtain predetermined content from the application program of the first electronic device, and sends the first instruction to the first electronic device.
Since a certain application program can be installed by at least one electronic device, the second electronic device sends a program identifier uploading instruction in advance to instruct the first electronic device to upload the program identifier of the application program installed in the second electronic device, and records the device identifier of the first electronic device with the same program identifier and the program identifier of the corresponding application program as the first electronic device identifier in the same list. The second electronic device can then generate first instructions for obtaining the predetermined content from the list, and determine to which first electronic devices the first instructions are to be sent in dependence on the program identification and the device identification of the application.
When an application identified by a program is installed in only one first electronic device, the second electronic device may request the first electronic device installed with the application to transmit the entire content of the application; when an application identified by a program is installed in a plurality of first electronic devices, the second electronic device can selectively select which first electronic devices transmit contents, and the selective transmission can be: and selecting one of the first electronic devices to transmit the whole content of the application program, or selecting a part of the first electronic devices to transmit part of the content of the application program respectively. The method specifically comprises the following steps:
firstly, the second electronic equipment determines the number of the first electronic equipment for sending the application program; the second electronic device divides the application program into different application program paragraphs according to the determined number, then generates a first instruction according to the internal list of the second electronic device, and sends the first instruction to the first electronic device to instruct the first electronic device to send a certain application program paragraph, wherein the application program paragraph is the specified predetermined content.
Wherein the program identification of the application program can be determined by the package name of the application program, the version number of the application program and MD 5. The MD5 is adopted to operate the package name and the version number of the application program to obtain a characteristic value, and for the package name and the version number of different application programs, a unique characteristic value can be obtained through the MD5, so that the characteristic value can be used as a program identifier of the application program.
The analyzing unit 52 is configured to analyze the first instruction to obtain an analysis result; wherein the parsing result is used for indicating which contents are obtained from which application program of the first electronic device, and comprises: a program identification of the application program, which may be a characteristic value of the application program obtained through MD5, and the specified predetermined content indicating which part of the content of the application program is acquired.
And the searching unit 53 is configured to search the eligible application program from the first electronic device according to the analysis result. And the extracting unit 54 is used for extracting the file content matched with the first instruction from the application program. A sending unit 55, configured to send the file content to the second electronic device.
In the embodiment of the present invention, after the first electronic device obtains the analysis result, the searching unit 53 searches for the application program having the characteristic value from the first electronic device according to the characteristic value of the characteristic program identifier in the analysis result. The extraction unit 54 then extracts the file content to be obtained from the parsed result, and extracts the file content from the found application.
One point to be pointed out is: the matched file content is related to the number of first electronic devices which indicate the second electronic device to send the content, and when the number of the first electronic devices is one, the matched file content is the whole content of the application program; when the number of the first electronic devices is multiple, the file content matched by the extracting unit 54 is an application paragraph extracted from the found application.
According to the technical scheme, the first electronic equipment can send the file content of the application program installed on the first electronic equipment to the second electronic equipment, and the mode that the second electronic equipment acquires the application program is changed, so that the non-public application program which is not disclosed on the network but installed on the first electronic equipment can still be acquired by the second electronic equipment, and the acquisition difficulty is reduced.
After acquiring the application program, the second electronic device analyzes the second electronic device to determine whether the acquired application program is a malicious application program, and feeds back an analysis result to the first electronic device, as shown in fig. 6, on the basis of fig. 5, the receiving unit 51 in the information processing apparatus according to the embodiment of the present invention is further configured to receive the analysis result fed back by the second electronic device; the generating unit 56 in the information processing apparatus shown in fig. 6 is configured to generate, according to the received analysis result, prompt information, where the prompt information is used to identify the eligible application program found by the first electronic device.
And analyzing the application program obtained from the first electronic equipment by the second electronic equipment to identify whether the obtained application program comprises illegal codes so as to obtain an analysis result for identifying whether the application program is a malicious application program.
In the embodiment of the present invention, the identifier may be to identify whether the application is a malicious application, and the second electronic device may use different identifiers to represent the analysis result, for example, if the number 1 represents that the application is the analysis result of the malicious application, the generated prompt information identifies that the application found by the first electronic device is the malicious application; and the number 0 is used for representing the analysis result that the application program is the legal application program, and the corresponding generated prompt information marks the application program found by the first electronic equipment as the legal application program. Thus, the user using the first electronic device can decide to delete or keep the application program according to the prompt message.
Please refer to fig. 7, which is a schematic structural diagram of another information processing apparatus according to an embodiment of the present invention, applied to a second electronic device, where the second electronic device is communicatively connected to at least one of the first electronic devices. The information processing apparatus shown in fig. 7 includes: an instruction generating unit 71, a transmitting unit 72, a receiving unit 73, and a program generating unit 74.
An instruction generating unit 71, configured to generate a first instruction, where the first instruction is used to instruct to acquire predetermined content from an application program of the first electronic device.
A sending unit 72, configured to send the first instruction to the first electronic device.
In the embodiment of the present invention, when a second electronic device wants to obtain an application program from a first electronic device, the second electronic device first generates a first instruction for instructing to obtain predetermined content from the application program of the first electronic device, and sends the first instruction to the first electronic device.
Since one application program may be installed by at least one electronic device, the second electronic device sends a program identifier upload instruction in advance to instruct the first electronic device to upload the program identifier of the application program installed in the second electronic device, so that the obtaining unit 75 in the second electronic device may obtain the device identifier of the first electronic device and the program identifier of the application program installed in the first electronic device, and the list establishing unit 76 in the second electronic device establishes a device list for each application program according to the program identifiers, where the device list is used to record the device identifiers of the first electronic devices installed with the same application program, as shown in fig. 8.
Accordingly, in the information processing apparatus shown in fig. 8, the instruction generating unit generates 71 a first instruction for acquiring predetermined content, which is generated according to the list in the second electronic device, so that the second electronic device can determine to which first electronic devices the first instruction is to be sent according to the program identifier and the device identifier of the application program.
Wherein the program identification of the application program can be determined by the package name of the application program, the version number of the application program and MD 5. The MD5 is adopted to operate the package name and the version number of the application program to obtain a characteristic value, and for the package name and the version number of different application programs, a unique characteristic value can be obtained through the MD5, so that the characteristic value can be used as a program identifier of the application program.
The receiving unit 73 is configured to receive file content uploaded by the first electronic device, where the file content is content that is acquired by the first electronic device according to the first instruction and matches the first instruction.
And the program generating unit 74 is configured to obtain the application program according to the file content.
In the embodiment of the invention, the file content uploaded by the first electronic equipment is related to the number of the first electronic equipment installed with the application program with certain program identification. When an application identified by a program is installed in only one first electronic device, the second electronic device may request the first electronic device installed with the application to upload the entire content of the application; when an application identified by a program is installed in a plurality of first electronic devices, the second electronic device may selectively select which first electronic devices upload content, and the selective transmission may be: and selecting one of the first electronic devices to upload all contents of the application program, or selecting a part of the first electronic devices to upload a part of contents of the application program respectively. The method specifically comprises the following steps:
firstly, the second electronic equipment determines the number of the first electronic equipment for sending the application program; the second electronic device divides the application program into different application program paragraphs according to the determined number, then generates a first instruction according to the internal list of the second electronic device, and sends the first instruction to the first electronic device to instruct the first electronic device to send a certain application program paragraph, wherein the application program paragraph is the specified predetermined content.
When the receiving unit 73 obtains the application paragraphs from the plurality of first electronic devices, the program generating unit 74 obtains the order of each application paragraph in the application, and then integrates the application paragraphs according to the order to obtain the application.
After acquiring the application program, the program generating unit 74 may further analyze the application program to determine whether the obtained application program is a malicious application program, and feed back an analysis result to the first electronic device, as shown in fig. 9, and on the basis of fig. 7, the information processing apparatus according to the embodiment of the present invention further includes: and the analysis unit 77 is configured to analyze the obtained application program to obtain an analysis result, and send the analysis result to the first electronic device by the sending unit 72.
Wherein the analysis result is that the application program obtained from the first electronic equipment is analyzed by the second electronic equipment to identify the obtained application program. The identification may be to identify whether the obtained application includes illegal code, thereby obtaining an analysis result that identifies whether the application is a malicious application. In the embodiment of the present invention, the second electronic device may represent the analysis result by different identifiers, such as the analysis result that the application is a malicious application is represented by numeral 1; the number 0 is used to represent the analysis result of the application program as a legitimate application program.
In addition, an embodiment of the present invention further provides an information processing system, which includes at least one first electronic device 81, a second electronic device 82, and a third electronic device 83, where the first electronic device 81 is in communication connection with the second electronic device 82 and the third electronic device 83, respectively, as shown in fig. 10. Wherein,
and the second electronic device 82 is configured to generate a first instruction and send the first instruction to the first electronic device 81, where the first instruction is used to instruct to acquire predetermined content from an application program of the first electronic device 81.
The first electronic device 81 is configured to receive the first instruction, analyze the first instruction to obtain an analysis result, search for an application meeting a condition from the first electronic device according to the analysis result, and extract file content matched with the first instruction from the application.
And a third electronic device 83 for receiving the file content and obtaining the application program according to the file content.
When the plurality of first electronic devices 81 are respectively connected to the second electronic device 82 and the third electronic device 83 in a communication manner, the first electronic device 81 may extract the program identifier of the application program to be acquired and the application program paragraph to be acquired from the analysis result, acquire the application program having the program identifier in the first electronic device 81, and extract the application program paragraph from the application program having the program identifier. The corresponding third electronic device 83 may receive the application paragraphs uploaded by each first electronic device 81, obtain the sequence of each application paragraph in the application, and integrate the application paragraphs according to the sequence to obtain the application, where the application paragraphs are part of the content of the application obtained by the first electronic device 81 according to the first instruction.
In addition, the second electronic device 82 is further configured to obtain a device identifier of the first electronic device 81 and a program identifier of an application installed in the first electronic device 81, and respectively establish a device list for each application according to the program identifier, where the device list is used to record the device identifier of the first electronic device 81 installed with the same application. Thus, the second electronic device 82 can determine a device list in the second electronic device 82 according to the application program pointed by the first instruction, and generate the first instruction for acquiring the predetermined content according to the list in the second electronic device 82.
The third electronic device 83 is also configured to: the obtained application program is analyzed to obtain an analysis result, and the analysis result is sent to the first electronic device 81, where the analysis result is used to indicate whether the obtained application program is a malicious program. The respective first electronic device 81 is also configured to: and receiving an analysis result fed back by the second electronic device 82, and generating prompt information for prompting that the found application program meeting the condition is a malicious program by the first electronic device 81.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The information processing method and apparatus provided by the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (14)

1. An information processing method is applied to first electronic equipment, and is characterized in that the first electronic equipment is in communication connection with second electronic equipment, and the information processing method comprises the following steps:
receiving a first instruction sent by the second electronic device, wherein the first instruction is used for instructing to acquire predetermined content from an application program of the first electronic device;
analyzing the first instruction to obtain an analysis result;
searching an application program meeting the condition from the first electronic equipment according to the analysis result, and extracting file content matched with the first instruction from the application program;
sending the file content to the second electronic equipment;
and receiving an analysis result fed back by the second electronic device, and generating prompt information according to the received analysis result, wherein the prompt information is used for identifying the application program which is found by the first electronic device and meets the condition, and the identification is used for identifying whether the application program is a malicious application program.
2. The method of claim 1, wherein searching for a qualified application program from the first electronic device according to the parsing result, and extracting a file content matching the first instruction from the application program, comprises:
extracting a program identifier of an application program to be acquired and an application program paragraph to be acquired from the analysis result;
acquiring an application program with the program identifier in the first electronic equipment;
the application program paragraph is extracted from the application program having the program identification.
3. The method according to claim 1, wherein the first instruction is an instruction for acquiring predetermined content generated according to a list in the second electronic device, wherein the list is used for recording the identification of the first electronic device for installing the application program.
4. An information processing method is applied to a second electronic device, and is characterized in that the second electronic device is in communication connection with at least one first electronic device, and the information processing method comprises the following steps:
generating a first instruction, wherein the first instruction is used for instructing to acquire predetermined content from an application program of the first electronic equipment;
sending the first instruction to the first electronic device;
receiving file content uploaded by the first electronic device, and obtaining the application program according to the file content, wherein the file content is content which is obtained by the first electronic device according to the first instruction and is matched with the first instruction;
analyzing the obtained application program to obtain an analysis result, wherein the analysis result is used for identifying the obtained application program; the identification is to identify whether the application program is a malicious application program;
and sending the analysis result to the first electronic equipment.
5. The method of claim 4, further comprising: acquiring a device identifier of the first electronic device and a program identifier of an application program installed in the first electronic device;
and respectively establishing an equipment list for each application program according to the program identification, wherein the equipment list is used for recording the equipment identification of the first electronic equipment provided with the same application program.
6. The method of claim 5, wherein generating the first instruction comprises: determining a device list in the second electronic device according to the application program pointed by the first instruction;
and generating a first instruction for acquiring the preset content according to the list in the second electronic equipment.
7. The method of claim 4, wherein the second electronic device is communicatively coupled to a plurality of the first electronic devices;
receiving the file content uploaded by the first electronic device, and obtaining the application program according to the file content comprises:
receiving an application program paragraph uploaded by each first electronic device, wherein the application program paragraph is a part of the content of the application program acquired by the first electronic device according to the first instruction;
acquiring the sequence of each application program section in the application program;
and integrating the application program paragraphs according to the sequence to obtain the application program.
8. An information processing apparatus applied to a first electronic device, wherein the first electronic device is in communication connection with a second electronic device, the information processing apparatus comprising:
a receiving unit, configured to receive a first instruction sent by the second electronic device, where the first instruction is used to instruct to acquire predetermined content from an application program of the first electronic device;
the analysis unit is used for analyzing the first instruction to obtain an analysis result;
the searching unit is used for searching the application program meeting the conditions from the first electronic equipment according to the analysis result;
the extracting unit is used for extracting file contents matched with the first instruction from the application program;
a sending unit, configured to send the file content to the second electronic device;
the receiving unit is further configured to receive an analysis result fed back by the second electronic device;
and the generating unit is used for generating prompt information according to the received analysis result, wherein the prompt information is used for identifying the application program which is found by the first electronic equipment and meets the condition, and the identification is used for identifying whether the application program is a malicious application program.
9. The apparatus of claim 8, wherein the searching unit searches the eligible application programs from the first electronic device according to the parsing result comprises: extracting a program identifier of an application program to be acquired from the analysis result, and acquiring the application program with the program identifier in the first electronic device;
the extracting unit extracts the file content matched with the first instruction from the application program, and comprises the following steps: and extracting the application program paragraph to be acquired from the analysis result, and extracting the application program paragraph from the application program with the program identification.
10. The apparatus according to claim 8, wherein the first instruction is an instruction to obtain predetermined content generated from a list in the second electronic device, the list being used to record an identifier of the first electronic device for installing the application program.
11. An information processing apparatus applied to a second electronic device, wherein the second electronic device is in communication connection with at least one first electronic device, the information processing apparatus comprising:
an instruction generating unit, configured to generate a first instruction, where the first instruction is used to instruct to acquire predetermined content from an application program of the first electronic device;
a sending unit, configured to send the first instruction to the first electronic device;
the receiving unit is used for receiving file content uploaded by the first electronic device, wherein the file content is content which is acquired by the first electronic device according to the first instruction and is matched with the first instruction;
the program generating unit is used for obtaining the application program according to the file content;
the analysis unit is used for analyzing the obtained application program to obtain an analysis result, and the analysis result is used for identifying the obtained application program; the identification is to identify whether the application program is a malicious application program;
the sending unit sends the analysis result to the first electronic device.
12. The apparatus of claim 11, further comprising:
an acquisition unit configured to acquire a device identifier of the first electronic device and a program identifier of an application program installed in the first electronic device;
and the list establishing unit is used for respectively establishing an equipment list for each application program according to the program identification, wherein the equipment list is used for recording the equipment identification of the first electronic equipment provided with the same application program.
13. The apparatus of claim 12, wherein the instruction generation unit to generate the first instruction comprises: determining a device list in the second electronic device according to the application program pointed by the first instruction, and generating a first instruction for acquiring preset content according to the list in the second electronic device.
14. The apparatus of claim 11, wherein the second electronic device is communicatively coupled to a plurality of the first electronic devices;
the receiving unit receives the file content uploaded by the first electronic device, and the receiving unit comprises: receiving an application program paragraph uploaded by each first electronic device, wherein the application program paragraph is a part of the content of the application program acquired by the first electronic device according to the first instruction;
the obtaining, by the program generating unit, the application program according to the file content includes: and acquiring the sequence of each application program section in the application program, and integrating the application program sections according to the sequence to obtain the application program.
CN201410455788.5A 2014-09-09 2014-09-09 A kind of information processing method and device Active CN105468640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410455788.5A CN105468640B (en) 2014-09-09 2014-09-09 A kind of information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410455788.5A CN105468640B (en) 2014-09-09 2014-09-09 A kind of information processing method and device

Publications (2)

Publication Number Publication Date
CN105468640A CN105468640A (en) 2016-04-06
CN105468640B true CN105468640B (en) 2019-04-23

Family

ID=55606345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410455788.5A Active CN105468640B (en) 2014-09-09 2014-09-09 A kind of information processing method and device

Country Status (1)

Country Link
CN (1) CN105468640B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107305569B (en) * 2016-04-21 2021-07-06 北京搜狗科技发展有限公司 Information processing method and device
CN113923230B (en) * 2020-06-22 2022-12-13 华为技术有限公司 Data synchronization method, electronic device, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7054623B1 (en) * 2001-05-08 2006-05-30 Nokia Corporation Grapevine driven updating technique
CN102761856A (en) * 2012-07-11 2012-10-31 腾讯科技(深圳)有限公司 Method, device and system for sharing software between terminals
CN103476002A (en) * 2013-09-17 2013-12-25 宇龙计算机通信科技(深圳)有限公司 Method and device for data interaction
CN103777962A (en) * 2014-02-21 2014-05-07 联想(北京)有限公司 Method and device for processing information
CN103853975A (en) * 2012-11-28 2014-06-11 联想(北京)有限公司 Information processing method and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120017821A (en) * 2010-08-20 2012-02-29 삼성전자주식회사 Apparatus and method for sharing data in portable terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7054623B1 (en) * 2001-05-08 2006-05-30 Nokia Corporation Grapevine driven updating technique
CN102761856A (en) * 2012-07-11 2012-10-31 腾讯科技(深圳)有限公司 Method, device and system for sharing software between terminals
CN103853975A (en) * 2012-11-28 2014-06-11 联想(北京)有限公司 Information processing method and electronic device
CN103476002A (en) * 2013-09-17 2013-12-25 宇龙计算机通信科技(深圳)有限公司 Method and device for data interaction
CN103777962A (en) * 2014-02-21 2014-05-07 联想(北京)有限公司 Method and device for processing information

Also Published As

Publication number Publication date
CN105468640A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN107665233B (en) Database data processing method and device, computer equipment and storage medium
US11188635B2 (en) File authentication method and apparatus
US11233819B2 (en) Method and apparatus for analyzing cyberattack
CN109951435B (en) Equipment identifier providing method and device and risk control method and device
US20140245438A1 (en) Download resource providing method and device
CN104346566A (en) Method, device, terminal, server and system for detecting privacy authority risks
CN106815135B (en) Vulnerability detection method and device
CN106649446B (en) Information pushing method and device
CN108063725B (en) Message pushing method
CN103268328B (en) The verification method of Quick Response Code and search engine server
CN112712902B (en) Infectious disease infection probability prediction method and device, storage medium, and electronic device
CN107666404B (en) Broadband network user identification method and device
CN106055375B (en) Application program installation method and device
CN105515702A (en) Method for acquiring media information of radio station music, and vehicle radio set
CN106330520A (en) Method and device of extracting feature information of terminal equipment
CN102819698A (en) Method and device for detecting malicious code in webpage
CN104050409A (en) Method and device for identifying bundled software
CN113271578A (en) Network distribution method, device, equipment and computer readable storage medium
CN105468640B (en) A kind of information processing method and device
SG11201906458UA (en) IoT DATA COLLECTION SYSTEM, IoT DATA COLLECTION METHOD, MANAGEMENT DEVICE, MANAGEMENT PROGRAM, AGENT DEVICE, AND AGENT PROGRAM
ATE375044T1 (en) METHOD, SYSTEM AND DEVICE FOR SERVICE SELECTION OVER A WIRELESS LOCAL NETWORK
CN102799804A (en) Comprehensive identification method and system for security of unknown file
CN104793957B (en) The method and apparatus that a kind of detection service device has website
CN107871021B (en) Method and device for obtaining identification features of webpage search keywords
CN110401669B (en) Identity verification method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant