CN114268958A - Method and device for simulating real mobile phone by cloud mobile phone and computer equipment - Google Patents
Method and device for simulating real mobile phone by cloud mobile phone and computer equipment Download PDFInfo
- Publication number
- CN114268958A CN114268958A CN202111517597.3A CN202111517597A CN114268958A CN 114268958 A CN114268958 A CN 114268958A CN 202111517597 A CN202111517597 A CN 202111517597A CN 114268958 A CN114268958 A CN 114268958A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- cloud mobile
- cloud
- parameter data
- real
- 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
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000001514 detection method Methods 0.000 claims abstract description 88
- 238000011022 operating instruction Methods 0.000 claims abstract description 6
- 230000003068 static effect Effects 0.000 claims description 46
- 238000004088 simulation Methods 0.000 claims description 38
- 238000004590 computer program Methods 0.000 claims description 8
- 230000004048 modification Effects 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a method and a device for simulating a real mobile phone by a cloud mobile phone and computer equipment, and mainly aims to effectively run an application program in the cloud mobile phone. The method comprises the following steps: responding to an operating instruction of an application program, and acquiring parameter data of a real machine acquired by a cloud mobile phone client; generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program; and if the cloud mobile phone is subjected to security detection during the operation of the application program, acquiring detection parameters corresponding to the cloud mobile phone, and modifying parameter data corresponding to the detection parameters so that the cloud mobile phone with modified parameters can simulate the real mobile phone to pass the security detection. The method is mainly suitable for simulating the real mobile phone by the cloud mobile phone.
Description
Technical Field
The invention relates to the technical field of information, in particular to a method and a device for simulating a real mobile phone by a cloud mobile phone and computer equipment.
Background
The cloud mobile phone is a smart mobile phone deeply combined with network services, and can realize numerous functions by means of a system of the cloud mobile phone and a network terminal erected by a manufacturer.
Currently, enterprise users generally need to use a cloud mobile phone for data security. However, some application programs need real-machine data to run due to special requirements, and meanwhile, many application programs can detect running equipment when running, and if the current equipment is detected to be virtual equipment, the running equipment stops running and corresponding safety prompts are performed, so that the current cloud mobile phone cannot effectively run the application programs.
Disclosure of Invention
The invention provides a method and a device for simulating a real mobile phone by a cloud mobile phone and computer equipment, and mainly aims to effectively run an application program in the cloud mobile phone.
According to a first aspect of the present invention, there is provided a method for simulating a real mobile phone by a cloud mobile phone, including:
responding to an operating instruction of an application program, and acquiring parameter data of a real machine acquired by a cloud mobile phone client;
generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program;
and if the cloud mobile phone is subjected to security detection during the operation of the application program, acquiring detection parameters corresponding to the cloud mobile phone, and modifying parameter data corresponding to the detection parameters so that the cloud mobile phone with modified parameters can simulate the real mobile phone to pass the security detection.
Optionally, the parameter data includes parameter data corresponding to a static parameter and parameter data corresponding to a dynamic parameter, and the obtaining of the parameter data of the real machine acquired by the cloud mobile phone client in response to the operation instruction of the application program includes:
responding to an operation instruction of an application program, acquiring parameter data of the static parameters sent by the cloud mobile phone client and parameter data of the dynamic parameters sent by the cloud server, wherein the cloud mobile phone client is used for directly sending the parameter data corresponding to the static parameters to the cloud mobile phone system and sending the parameter data corresponding to the dynamic parameters to the cloud server, and the cloud server is used for sending the parameter data corresponding to the dynamic parameters sent by the cloud mobile phone client to the cloud mobile phone system in real time.
Optionally, the method further comprises: if the cloud mobile phone client does not acquire the parameter data corresponding to the static parameters and/or the parameter data corresponding to the dynamic parameters of the real machine, acquiring the simulation data corresponding to the static parameters and the simulation data corresponding to the dynamic parameters issued by the cloud server, wherein the cloud server is used for performing data simulation on the static parameters and/or the dynamic parameters according to a parameter data simulation instruction sent by the cloud mobile phone client, generating the simulation data corresponding to the static parameters and/or the simulation data corresponding to the dynamic parameters, and issuing the simulation data to the cloud mobile phone system.
Optionally, after the generating a cloud handset simulating the real machine based on the parameter data, the method further includes:
acquiring adjusted parameter data corresponding to the dynamic parameters issued by the cloud server in real time, and deploying the adjusted parameter data into the cloud mobile phone, wherein the cloud server adjusts the parameter data corresponding to the dynamic parameters at intervals of a preset time interval, and issues the adjusted parameter data to the cloud mobile phone system in real time.
Optionally, after the generating a cloud handset simulating the real machine based on the parameter data, the method further includes:
receiving an attribute configuration instruction aiming at the cloud mobile phone, which is sent by a cloud server, wherein the attribute configuration instruction comprises attribute information corresponding to the cloud mobile phone;
and performing attribute configuration on the cloud mobile phone based on the attribute information.
Optionally, the generating a cloud phone simulating the real phone based on the parameter data includes:
and carrying out mirror image processing on the real machine by simulating the parameter data to obtain the cloud mobile phone simulating the real machine.
Optionally, the method further comprises: and if the security detection is carried out on the cloud mobile phone when the application program runs, shielding the sensitive files in the cloud mobile phone so that the shielded cloud mobile phone can simulate the real mobile phone to pass the security detection.
According to a second aspect of the present invention, there is provided an apparatus for simulating a real mobile phone by a cloud mobile phone, including:
the acquisition unit is used for responding to an operation instruction of the application program and acquiring parameter data of the real machine acquired by the cloud mobile phone client;
the generating unit is used for generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program;
and the modification unit is used for acquiring the detection parameters corresponding to the cloud mobile phone and modifying the parameter data corresponding to the detection parameters if the application program performs security detection on the cloud mobile phone during operation, so that the cloud mobile phone with the modified parameters can simulate the real mobile phone to pass the security detection.
Optionally, the parameter data includes parameter data corresponding to a static parameter and parameter data corresponding to a dynamic parameter, and the obtaining unit is specifically configured to obtain, in response to an operation instruction of an application program, the parameter data of the static parameter sent by the cloud mobile phone client and the parameter data of the dynamic parameter sent by the cloud server, where the cloud mobile phone client is configured to directly send the parameter data corresponding to the static parameter to the cloud mobile phone system and send the parameter data corresponding to the dynamic parameter to the cloud server, and the cloud server is configured to send the parameter data corresponding to the dynamic parameter sent by the cloud mobile phone client to the cloud mobile phone system in real time.
Optionally, the obtaining unit is further specifically configured to obtain, if the cloud mobile phone client does not acquire parameter data corresponding to a static parameter and/or parameter data corresponding to a dynamic parameter of the real machine, analog data corresponding to the static parameter and analog data corresponding to the dynamic parameter that are issued by the cloud server, where the cloud server is configured to perform data simulation on the static parameter and/or the dynamic parameter according to a parameter data simulation instruction sent by the cloud mobile phone client, generate the analog data corresponding to the static parameter and/or the analog data corresponding to the dynamic parameter, and issue the analog data corresponding to the static parameter and/or the analog data corresponding to the dynamic parameter to the cloud mobile phone system.
Optionally, the apparatus further comprises: a unit for deployment is provided that,
the deployment unit is configured to acquire adjusted parameter data corresponding to the dynamic parameter issued by the cloud server in real time, and deploy the adjusted parameter data to the cloud mobile phone, where the cloud server adjusts the parameter data corresponding to the dynamic parameter at preset time intervals, and issues the adjusted parameter data to the cloud mobile phone system in real time.
Optionally, the apparatus further comprises: a receiving unit and a configuration unit, wherein,
the receiving unit is used for receiving an attribute configuration instruction which is sent by a cloud server and aims at the cloud mobile phone, wherein the attribute configuration instruction comprises attribute information corresponding to the cloud mobile phone;
the configuration unit is used for performing attribute configuration on the cloud mobile phone based on the attribute information.
Optionally, the generating unit is specifically configured to perform mirror image processing on the real phone by simulating the parameter data, so as to obtain a cloud mobile phone simulating the real phone.
Optionally, the apparatus further comprises: the shielding unit is provided with a shielding unit,
the shielding unit is used for shielding the sensitive file in the cloud mobile phone if the security detection is performed on the cloud mobile phone when the application program runs, so that the shielded cloud mobile phone can simulate the real mobile phone to pass the security detection.
According to a third aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
responding to an operating instruction of an application program, and acquiring parameter data of a real machine acquired by a cloud mobile phone client;
generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program;
and if the cloud mobile phone is subjected to security detection during the operation of the application program, acquiring detection parameters corresponding to the cloud mobile phone, and modifying parameter data corresponding to the detection parameters so that the cloud mobile phone with modified parameters can simulate the real mobile phone to pass the security detection.
According to a fourth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the program:
responding to an operating instruction of an application program, and acquiring parameter data of a real machine acquired by a cloud mobile phone client;
generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program;
and if the cloud mobile phone is subjected to security detection during the operation of the application program, acquiring detection parameters corresponding to the cloud mobile phone, and modifying parameter data corresponding to the detection parameters so that the cloud mobile phone with modified parameters can simulate the real mobile phone to pass the security detection.
According to the method, the device and the computer equipment for simulating the real mobile phone by the cloud mobile phone, compared with the mode that various application programs cannot be operated in the cloud mobile phone at present, the method, the device and the computer equipment have the advantages that the parameter data of the real mobile phone, which are acquired by a cloud mobile phone client, are acquired by responding to the operation instruction of the application program; generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program; meanwhile, if the cloud mobile phone is subjected to security detection when the application program runs, the detection parameters corresponding to the cloud mobile phone are obtained, and parameter data corresponding to the detection parameters are modified, so that the cloud mobile phone with the modified parameters can simulate the real mobile phone to pass the security detection. Therefore, the cloud mobile phone is generated by simulating the parameter data of the real machine, the cloud mobile phone environment can be consistent with the real machine environment, and in addition, when the application program carries out safety detection on the cloud mobile phone, the situation that the operation equipment is detected to be a virtual mobile phone by the application program can be avoided by adjusting the parameter data corresponding to the detection parameters in the cloud mobile phone, so that the cloud mobile phone can be completely computerized, various application programs can be effectively operated, and the user experience is enhanced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 shows a flowchart of a method for simulating a real mobile phone by a cloud mobile phone according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another method for simulating a real mobile phone by a cloud mobile phone according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram illustrating an apparatus for simulating a real mobile phone by a cloud mobile phone according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating another apparatus for simulating a real mobile phone by a cloud mobile phone according to an embodiment of the present invention;
fig. 5 shows a physical structure diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
At present, some application programs can be operated only by real machine data due to special requirements, in addition, many application programs can detect operating equipment when operating, and if the current equipment is detected to be virtual equipment, the operation can be stopped, and corresponding safety prompt is carried out, so that the current cloud mobile phone cannot effectively operate the application programs.
In order to solve the above problem, an embodiment of the present invention provides a method for a cloud mobile phone to simulate a real mobile phone, where as shown in fig. 1, the method includes:
101. and responding to the operation instruction of the application program, and acquiring the parameter data of the real machine acquired by the cloud mobile phone client.
Wherein, application can be any kind of APP, and real machine is the equipment at cloud cell-phone client place, and the parameter data of real machine includes: wifi list data, current network type, battery power, sensor parameter, SIM card detailed information, GPS data etc. wifi list data includes the detailed parameter that every wifi corresponds in the real machine, if the ID that every wifi corresponds, current network type includes flow data, wifi, 4G network, 5G network etc. sensor parameter includes acceleration sensor parameter, distance sensor parameter etc..
The embodiment of the invention is mainly applied to a scene that a cloud mobile phone simulates a real mobile phone to run an application program. The execution subject of the embodiment of the invention is a cloud mobile phone system.
Because many application programs can be operated only by real-machine data, the embodiment of the invention can collect the parameter data of the real machine in advance, copy the parameter data into the cloud mobile phone system, compile the parameter data in the cloud mobile phone system, and generate the cloud mobile phone consistent with the real-machine environment, so that the application programs can be operated in the cloud mobile phone.
Specifically, when a user downloads an application program in a cloud mobile phone client and selects to operate the application program, a cloud mobile phone system receives an operation instruction of the application program, and then the cloud mobile phone client installed on a real machine is used for collecting current parameter data of the real machine, wherein the parameter data comprises parameter data of static parameters and parameter data of dynamic parameters in the real machine, the static parameters comprise parameters such as SIM card detailed information and the like which cannot be changed, the dynamic parameters comprise parameters such as wifi list data, current network type, battery power and the like which can be changed, and since the parameter data of the dynamic parameters can be changed, the collected parameter data of the dynamic parameters need to be uploaded to the cloud server and the parameter data of the dynamic parameters can be obtained from the cloud server in real time, and the parameter data of the static parameters can be directly obtained from the cloud mobile phone client, based on this, the method comprises: responding to an operation instruction of an application program, acquiring parameter data of the static parameters sent by the cloud mobile phone client and parameter data of the dynamic parameters sent by the cloud server, wherein the cloud mobile phone client is used for directly sending the parameter data corresponding to the static parameters to the cloud mobile phone system and sending the parameter data corresponding to the dynamic parameters to the cloud server, and the cloud server is used for sending the parameter data corresponding to the dynamic parameters sent by the cloud mobile phone client to the cloud mobile phone system in real time.
Specifically, after the cloud mobile phone client acquires the parameter data of the current dynamic parameters and the parameter data of the static parameters of the real machine, the cloud mobile phone client uploads the parameter data of the dynamic parameters to the cloud server, the cloud server configures the parameter data of the dynamic parameters at preset time intervals, meanwhile, the cloud mobile phone client calls the VMIserver service to acquire the parameter data corresponding to the dynamic parameters from the cloud server in real time and sends the parameter data to the cloud mobile phone system, and in addition, the cloud mobile phone client directly sends the parameter data of the static parameters to the cloud mobile phone system without being processed by the cloud server. Therefore, according to the mode, the cloud mobile phone system can acquire the parameter data corresponding to the current dynamic parameters and the parameter data corresponding to the static parameters of the real mobile phone.
102. And generating a cloud mobile phone simulating the real phone based on the parameter data.
The cloud mobile phone is used for running the application program. For the embodiment of the invention, after the cloud mobile phone system acquires the parameter data corresponding to the static parameters and the parameter data corresponding to the dynamic parameters, a mirror image of a real machine is compiled according to the parameter data corresponding to the static parameters and the parameter data corresponding to the dynamic parameters, so that the cloud mobile phone is generated, and the environment of the cloud mobile phone is consistent with that of the real machine. Therefore, the application programs which can be operated only by real machine data can be normally operated in the cloud mobile phone.
103. And if the cloud mobile phone is subjected to security detection during the operation of the application program, acquiring detection parameters corresponding to the cloud mobile phone, and modifying parameter data corresponding to the detection parameters so that the cloud mobile phone with modified parameters can simulate the real mobile phone to pass the security detection.
The detection parameter may be a mac address, a sensitive file name, and the like, and the sensitive file may be a libcore file. For the embodiment of the invention, safety detection is carried out in the running process of the application program, if the running equipment is detected to be a real machine, the safety of the current running environment is determined, and the application program can continue to run; if the running equipment is detected to be the virtual mobile phone (cloud mobile phone), the current running environment is determined to be incomplete, the application program stops running, and the user is prompted that the current equipment is the virtual equipment. Specifically, when the application performs security detection, the application may request to acquire some fixed parameter data (parameter data of detection parameters) in the cloud mobile phone, and the application may identify the real phone and the virtual mobile phone through the parameter data, for example, a mac address usually exists after the real phone leaves the factory, and the mac address of the virtual mobile phone may be 0, so as to avoid that the application can detect that the cloud mobile phone is a virtual device, when the application requests to acquire the parameter data corresponding to the detection parameters in the cloud mobile phone, the cloud mobile phone system may modify the parameter data corresponding to the detection parameters in the cloud mobile phone, for example, modify the mac address in the cloud mobile phone into the mac address of the real phone and feed back the mac address to the application, and since the modified parameter data is the parameter data of the real phone, the application cannot find that the current device is a virtual device, thereby enabling the cloud mobile phone to pass the security detection of the application, the application program can normally run on the cloud mobile phone.
According to the method for simulating the real mobile phone by the cloud mobile phone, compared with the mode that various application programs cannot be operated in the cloud mobile phone at present, the method for simulating the real mobile phone by the cloud mobile phone has the advantages that the parameter data of the real mobile phone, which are acquired by a cloud mobile phone client, are acquired by responding to the operation instruction of the application program; generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program; meanwhile, if the cloud mobile phone is subjected to security detection when the application program runs, the detection parameters corresponding to the cloud mobile phone are obtained, and parameter data corresponding to the detection parameters are modified, so that the cloud mobile phone with the modified parameters can simulate the real mobile phone to pass the security detection. Therefore, the cloud mobile phone is generated by simulating the parameter data of the real machine, the cloud mobile phone environment can be consistent with the real machine environment, and in addition, when the application program carries out safety detection on the cloud mobile phone, the situation that the operation equipment is detected to be a virtual mobile phone by the application program can be avoided by adjusting the parameter data corresponding to the detection parameters in the cloud mobile phone, so that the cloud mobile phone can be completely computerized, various application programs can be effectively operated, and the user experience is enhanced.
Further, in order to better describe the process of simulating a real mobile phone by the cloud mobile phone, as a refinement and an extension of the foregoing embodiment, an embodiment of the present invention provides another method for simulating a real mobile phone by a cloud mobile phone, as shown in fig. 2, where the method includes:
201. and responding to the operation instruction of the application program, and acquiring the parameter data of the real machine acquired by the cloud mobile phone client.
In a specific application scenario, limited by the authority of real machine parameter data, there are some dynamic parameters or static parameters, which may not be collected by a cloud mobile phone client, and at this time, data simulation can be performed only on the dynamic parameters and/or static parameters which are not collected by a cloud server, and the dynamic parameters and/or static parameters are issued to a cloud mobile phone system, that is, under the condition that the parameter data of the real machine is not obtained, the simulation of the real machine by the cloud mobile phone can be realized through the parameter data configured by the cloud server, based on which the method comprises: if the cloud mobile phone client does not acquire the parameter data corresponding to the static parameters and/or the parameter data corresponding to the dynamic parameters of the real machine, acquiring the simulation data corresponding to the static parameters and the simulation data corresponding to the dynamic parameters issued by the cloud server, wherein the cloud server is used for performing data simulation on the static parameters and/or the dynamic parameters according to a parameter data simulation instruction sent by the cloud mobile phone client, generating the simulation data corresponding to the static parameters and/or the simulation data corresponding to the dynamic parameters, and issuing the simulation data to the cloud mobile phone system.
For example, the cloud mobile phone client does not acquire the current battery electric quantity of the real machine, at this time, the cloud mobile phone client can send a data simulation instruction of the battery electric quantity to the cloud server, and after receiving the data simulation, the cloud server can simulate the current battery electric quantity of the real machine according to the actual situation of the real machine, and if the battery electric quantity of the current real machine is configured to be 90%, the cloud mobile phone client can obtain the simulation data of the battery electric quantity from the cloud server by calling the vmiser service and issue the simulation data to the cloud mobile phone system.
202. And generating a cloud mobile phone simulating the real phone based on the parameter data.
The cloud mobile phone is used for running the application program. For the embodiment of the present invention, in order to generate a cloud mobile phone simulating a real phone, step 202 specifically includes: and carrying out mirror image processing on the real machine by simulating the parameter data to obtain the cloud mobile phone simulating the real machine.
203. And receiving an attribute configuration instruction aiming at the cloud mobile phone, which is sent by a cloud server, and performing attribute configuration on the cloud mobile phone based on attribute information carried by the attribute configuration instruction.
The attribute configuration instruction comprises attribute information corresponding to the cloud mobile phone, and the attribute information can be watermark information, wallpaper information and the like of the cloud mobile phone. For the embodiment of the invention, the cloud server can perform data simulation under the condition that the cloud mobile phone client cannot acquire parameter data, and can also perform initialization configuration on the generated cloud mobile phone. For example, after the cloud handset is generated, the cloud server may configure the watermark, wallpaper, upload function, download function, and the like of the cloud handset.
In a specific application scenario, because parameter data of dynamic parameters of a real machine usually changes, in order to enable a cloud mobile phone to be closer to the real machine, a cloud server configures some dynamic parameters in real time and deploys the dynamic parameters into the cloud mobile phone, so that an application program detects that the parameter data of the dynamic parameters in the cloud mobile phone continuously changes along with time in the running process, and cannot detect that the application program is a virtual device, based on that, the method includes: acquiring adjusted parameter data corresponding to the dynamic parameters issued by the cloud server in real time, and deploying the adjusted parameter data into the cloud mobile phone, wherein the cloud server adjusts the parameter data corresponding to the dynamic parameters at intervals of a preset time interval, and issues the adjusted parameter data to the cloud mobile phone system in real time.
For example, the current battery power in the cloud mobile phone is 90%, the cloud server adjusts the battery power in the cloud mobile phone every 5 minutes, for example, the battery power of the cloud mobile phone is adjusted to 88% in the first 5 minutes, the battery power of the cloud mobile phone is adjusted to 85% in the second 5 minutes, the cloud server issues the battery power to the cloud mobile phone system after each configuration or adjustment, and the cloud mobile phone system deploys the adjusted battery power to the cloud mobile phone.
204. And if the security detection is carried out on the cloud mobile phone when the application program runs, shielding the sensitive files in the cloud mobile phone so that the shielded cloud mobile phone can simulate the real mobile phone to pass the security detection.
For the embodiment of the invention, in the running process of the application program, whether the current equipment is the virtual mobile phone can be judged by searching the parameter data of the detection parameters, whether the current equipment is the virtual equipment can be judged by searching some sensitive files, and if the sensitive files exist, the current equipment is the virtual equipment; if these sensitive files are not present, it is indicated that the current device is not a virtual device, such as "/system/xbin/su", "/system/bin/qemu-pops", "system/bin/qemud", "/dev/qemu _ pipe", if the application detects that these files are present in the current device, the current device is considered to be a virtual device and stops running. In order to prevent the application program from detecting the sensitive files, when the application program is found to detect the sensitive files by a specific path, information that the files do not exist is fed back to the application program, and after the application program receives the feedback information, the current device is considered to be a true machine, so that the application program can continue to run.
In addition, the application program can also send some specific instructions to detect whether the current device is a virtual device, and if the application program is found to perform security detection by using the specific instructions, prompt information that the current device is a true machine can also be fed back to the application program, so that the application program considers that the current device is a true machine to continue running after receiving the feedback information. Therefore, the cloud mobile phone simulation real machine can pass through safety detection according to the mode, and further the application program can effectively run on the cloud mobile phone.
According to the method for simulating the real mobile phone by the cloud mobile phone, compared with the mode that various application programs cannot be operated in the cloud mobile phone at present, the method for simulating the real mobile phone by the cloud mobile phone has the advantages that the parameter data of the real mobile phone, which are acquired by a cloud mobile phone client, are acquired by responding to the operation instruction of the application program; generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program; meanwhile, if the cloud mobile phone is subjected to security detection when the application program runs, the detection parameters corresponding to the cloud mobile phone are obtained, and parameter data corresponding to the detection parameters are modified, so that the cloud mobile phone with the modified parameters can simulate the real mobile phone to pass the security detection. Therefore, the cloud mobile phone is generated by simulating the parameter data of the real machine, the cloud mobile phone environment can be consistent with the real machine environment, and in addition, when the application program carries out safety detection on the cloud mobile phone, the situation that the operation equipment is detected to be a virtual mobile phone by the application program can be avoided by adjusting the parameter data corresponding to the detection parameters in the cloud mobile phone, so that the cloud mobile phone can be completely computerized, various application programs can be effectively operated, and the user experience is enhanced.
Further, as a specific implementation of fig. 1, an embodiment of the present invention provides a device for simulating a real mobile phone by a cloud mobile phone, where as shown in fig. 3, the device includes: an acquisition unit 31, a generation unit 32 and a modification unit 33.
The obtaining unit 31 may be configured to obtain, in response to an operation instruction of an application program, parameter data of a real machine acquired by a cloud mobile phone client.
The generating unit 32 may be configured to generate a cloud phone simulating the real machine based on the parameter data, where the cloud phone is configured to run the application program.
The modifying unit 33 may be configured to, if the security detection is performed on the cloud mobile phone when the application program runs, acquire a detection parameter corresponding to the cloud mobile phone, and modify parameter data corresponding to the detection parameter, so that the cloud mobile phone with the modified parameter simulates that the real mobile phone passes the security detection.
In a specific application scenario, the parameter data includes parameter data corresponding to a static parameter and parameter data corresponding to a dynamic parameter, and the obtaining unit 31 may be specifically configured to obtain, in response to an operation instruction of an application program, the parameter data of the static parameter sent by the cloud mobile phone client and the parameter data of the dynamic parameter sent by the cloud server, where the cloud mobile phone client is configured to directly send the parameter data corresponding to the static parameter to the cloud mobile phone system and send the parameter data corresponding to the dynamic parameter to the cloud server, and the cloud server is configured to send the parameter data corresponding to the dynamic parameter sent by the cloud mobile phone client to the cloud mobile phone system in real time.
Further, the obtaining unit 31 may be further specifically configured to obtain, if the cloud mobile phone client does not acquire the parameter data corresponding to the static parameter and/or the parameter data corresponding to the dynamic parameter of the real machine, the simulation data corresponding to the static parameter and the simulation data corresponding to the dynamic parameter sent by the cloud server, where the cloud server is configured to perform data simulation on the static parameter and/or the dynamic parameter according to a parameter data simulation instruction sent by the cloud mobile phone client, generate the simulation data corresponding to the static parameter and/or the simulation data corresponding to the dynamic parameter, and send the simulation data to the cloud mobile phone system.
In a specific application scenario, as shown in fig. 4, the apparatus further includes: unit 34 is deployed. The deployment unit 34 may be configured to obtain adjusted parameter data corresponding to the dynamic parameter sent by the cloud server in real time, and deploy the adjusted parameter data to the cloud mobile phone, where the cloud server adjusts the parameter data corresponding to the dynamic parameter at preset time intervals, and sends the adjusted parameter data to the cloud mobile phone system in real time.
In a specific application scenario, the apparatus further includes: a receiving unit 35 and a configuration unit 36.
The receiving unit 35 may be configured to receive an attribute configuration instruction sent by a cloud server and addressed to the cloud mobile phone, where the attribute configuration instruction includes attribute information corresponding to the cloud mobile phone.
The configuration unit 36 may be configured to perform attribute configuration on the cloud mobile phone based on the attribute information.
In a specific application scenario, the generating unit 32 may be specifically configured to perform mirror processing on the real phone by simulating the parameter data, so as to obtain a cloud mobile phone simulating the real phone.
In a specific application scenario, the apparatus further includes: a shielding unit 37.
The screen unit 37 may be specifically configured to shield the sensitive file in the cloud mobile phone if the security detection is performed on the cloud mobile phone when the application program runs, so that the shielded cloud mobile phone can simulate that the real mobile phone passes the security detection.
It should be noted that other corresponding descriptions of the functional modules involved in the apparatus for simulating a real mobile phone by a cloud mobile phone according to the embodiment of the present invention may refer to the corresponding description of the method shown in fig. 1, and are not described herein again.
Based on the method shown in fig. 1, correspondingly, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps: responding to an operating instruction of an application program, and acquiring parameter data of a real machine acquired by a cloud mobile phone client; generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program; and if the cloud mobile phone is subjected to security detection during the operation of the application program, acquiring detection parameters corresponding to the cloud mobile phone, and modifying parameter data corresponding to the detection parameters so that the cloud mobile phone with modified parameters can simulate the real mobile phone to pass the security detection.
Based on the above embodiments of the method shown in fig. 1 and the apparatus shown in fig. 3, an embodiment of the present invention further provides an entity structure diagram of a computer device, as shown in fig. 5, where the computer device includes: a processor 41, a memory 42, and a computer program stored on the memory 42 and executable on the processor, wherein the memory 42 and the processor 41 are both arranged on a bus 43 such that when the processor 41 executes the program, the following steps are performed: generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program; and if the cloud mobile phone is subjected to security detection during the operation of the application program, acquiring detection parameters corresponding to the cloud mobile phone, and modifying parameter data corresponding to the detection parameters so that the cloud mobile phone with modified parameters can simulate the real mobile phone to pass the security detection.
According to the technical scheme, the method and the device for processing the cloud mobile phone client-side data are used for responding to the operation instruction of the application program to acquire the parameter data of the real phone acquired by the cloud mobile phone client-side; generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program; meanwhile, if the cloud mobile phone is subjected to security detection when the application program runs, the detection parameters corresponding to the cloud mobile phone are obtained, and parameter data corresponding to the detection parameters are modified, so that the cloud mobile phone with the modified parameters can simulate the real mobile phone to pass the security detection. Therefore, the cloud mobile phone is generated by simulating the parameter data of the real machine, the cloud mobile phone environment can be consistent with the real machine environment, and in addition, when the application program carries out safety detection on the cloud mobile phone, the situation that the operation equipment is detected to be a virtual mobile phone by the application program can be avoided by adjusting the parameter data corresponding to the detection parameters in the cloud mobile phone, so that the cloud mobile phone can be completely computerized, various application programs can be effectively operated, and the user experience is enhanced.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any sensitive combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for simulating a real mobile phone by a cloud mobile phone is characterized by being applied to a cloud mobile phone system and comprising the following steps:
responding to an operating instruction of an application program, and acquiring parameter data of a real machine acquired by a cloud mobile phone client;
generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program;
and if the cloud mobile phone is subjected to security detection during the operation of the application program, acquiring detection parameters corresponding to the cloud mobile phone, and modifying parameter data corresponding to the detection parameters so that the cloud mobile phone with modified parameters can simulate the real mobile phone to pass the security detection.
2. The method according to claim 1, wherein the parameter data includes parameter data corresponding to static parameters and parameter data corresponding to dynamic parameters, and the obtaining of the parameter data of the real machine acquired by the cloud mobile phone client in response to the operation instruction of the application program includes:
responding to an operation instruction of an application program, acquiring parameter data of the static parameters sent by the cloud mobile phone client and parameter data of the dynamic parameters sent by the cloud server, wherein the cloud mobile phone client is used for directly sending the parameter data corresponding to the static parameters to the cloud mobile phone system and sending the parameter data corresponding to the dynamic parameters to the cloud server, and the cloud server is used for sending the parameter data corresponding to the dynamic parameters sent by the cloud mobile phone client to the cloud mobile phone system in real time.
3. The method of claim 2, further comprising:
if the cloud mobile phone client does not acquire the parameter data corresponding to the static parameters and/or the parameter data corresponding to the dynamic parameters of the real machine, acquiring the simulation data corresponding to the static parameters and the simulation data corresponding to the dynamic parameters issued by the cloud server, wherein the cloud server is used for performing data simulation on the static parameters and/or the dynamic parameters according to a parameter data simulation instruction sent by the cloud mobile phone client, generating the simulation data corresponding to the static parameters and/or the simulation data corresponding to the dynamic parameters, and issuing the simulation data to the cloud mobile phone system.
4. The method of claim 2, wherein after the generating a cloud handset that simulates the real machine based on the parameter data, the method further comprises:
acquiring adjusted parameter data corresponding to the dynamic parameters issued by the cloud server in real time, and deploying the adjusted parameter data into the cloud mobile phone, wherein the cloud server adjusts the parameter data corresponding to the dynamic parameters at intervals of a preset time interval, and issues the adjusted parameter data to the cloud mobile phone system in real time.
5. The method of claim 1, wherein after the generating a cloud handset that simulates the real machine based on the parameter data, the method further comprises:
receiving an attribute configuration instruction aiming at the cloud mobile phone, which is sent by a cloud server, wherein the attribute configuration instruction comprises attribute information corresponding to the cloud mobile phone;
and performing attribute configuration on the cloud mobile phone based on the attribute information.
6. The method of claim 1, wherein generating a cloud phone that simulates the real phone based on the parameter data comprises:
and carrying out mirror image processing on the real machine by simulating the parameter data to obtain the cloud mobile phone simulating the real machine.
7. The method of claim 1, further comprising:
and if the security detection is carried out on the cloud mobile phone when the application program runs, shielding the sensitive files in the cloud mobile phone so that the shielded cloud mobile phone can simulate the real mobile phone to pass the security detection.
8. An apparatus for simulating a real mobile phone by a cloud mobile phone, comprising:
the acquisition unit is used for responding to an operation instruction of the application program and acquiring parameter data of the real machine acquired by the cloud mobile phone client;
the generating unit is used for generating a cloud mobile phone simulating the real machine based on the parameter data, wherein the cloud mobile phone is used for running the application program;
and the modification unit is used for acquiring the detection parameters corresponding to the cloud mobile phone and modifying the parameter data corresponding to the detection parameters if the application program performs security detection on the cloud mobile phone during operation, so that the cloud mobile phone with the modified parameters can simulate the real mobile phone to pass the security detection.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
10. A computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 7 when executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111517597.3A CN114268958B (en) | 2021-12-13 | 2021-12-13 | Method and device for simulating real mobile phone by cloud mobile phone and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111517597.3A CN114268958B (en) | 2021-12-13 | 2021-12-13 | Method and device for simulating real mobile phone by cloud mobile phone and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114268958A true CN114268958A (en) | 2022-04-01 |
CN114268958B CN114268958B (en) | 2023-12-22 |
Family
ID=80827155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111517597.3A Active CN114268958B (en) | 2021-12-13 | 2021-12-13 | Method and device for simulating real mobile phone by cloud mobile phone and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114268958B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006049276A1 (en) * | 2004-11-08 | 2006-05-11 | iWaveDesign, Inc. | Data transmission system |
CN111246452A (en) * | 2020-01-03 | 2020-06-05 | 北京云派网络科技有限公司 | Method for simulating real mobile phone based on cloud mobile phone |
CN111917891A (en) * | 2020-08-20 | 2020-11-10 | 深圳市瑞驰信息技术有限公司 | Method and system for realizing data sharing between mobile phone and cloud mobile phone |
CN112235782A (en) * | 2020-10-16 | 2021-01-15 | 蜂助手股份有限公司 | Method and system for preventing mobile phone from brushing amount |
CN113542379A (en) * | 2021-07-02 | 2021-10-22 | Oppo广东移动通信有限公司 | Application program management method and device, electronic equipment and storage medium |
CN113553218A (en) * | 2021-07-21 | 2021-10-26 | 武汉晃游网络科技有限公司 | Method for cloning and backing up real machine based on cloud mobile phone, terminal device and storage medium |
CN113572822A (en) * | 2021-07-05 | 2021-10-29 | Oppo广东移动通信有限公司 | Cloud terminal simulation control method and device, storage medium and electronic equipment |
CN113742174A (en) * | 2021-08-31 | 2021-12-03 | 北京百度网讯科技有限公司 | Cloud mobile phone application monitoring method and device, electronic equipment and storage medium |
-
2021
- 2021-12-13 CN CN202111517597.3A patent/CN114268958B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006049276A1 (en) * | 2004-11-08 | 2006-05-11 | iWaveDesign, Inc. | Data transmission system |
CN111246452A (en) * | 2020-01-03 | 2020-06-05 | 北京云派网络科技有限公司 | Method for simulating real mobile phone based on cloud mobile phone |
CN111917891A (en) * | 2020-08-20 | 2020-11-10 | 深圳市瑞驰信息技术有限公司 | Method and system for realizing data sharing between mobile phone and cloud mobile phone |
CN112235782A (en) * | 2020-10-16 | 2021-01-15 | 蜂助手股份有限公司 | Method and system for preventing mobile phone from brushing amount |
CN113542379A (en) * | 2021-07-02 | 2021-10-22 | Oppo广东移动通信有限公司 | Application program management method and device, electronic equipment and storage medium |
CN113572822A (en) * | 2021-07-05 | 2021-10-29 | Oppo广东移动通信有限公司 | Cloud terminal simulation control method and device, storage medium and electronic equipment |
CN113553218A (en) * | 2021-07-21 | 2021-10-26 | 武汉晃游网络科技有限公司 | Method for cloning and backing up real machine based on cloud mobile phone, terminal device and storage medium |
CN113742174A (en) * | 2021-08-31 | 2021-12-03 | 北京百度网讯科技有限公司 | Cloud mobile phone application monitoring method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114268958B (en) | 2023-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109068179B (en) | Multi-platform live broadcast method, computer device and computer readable storage medium | |
CN103207969B (en) | The device of detection Android malware and method | |
CN111741134B (en) | System and method for quickly constructing virtual machine in large-scale scene of network shooting range | |
CN106878385A (en) | Private clound dispositions method and device | |
EP2993603B1 (en) | Permission determining method and device for application program | |
CN103442026A (en) | Application program processing method, device and system | |
CN106445548B (en) | Test packet issuing method and device | |
CN110825399B (en) | Deployment method and device of application program | |
CN107071043A (en) | The collocation method and device of a kind of network information | |
CN110058894B (en) | Method, apparatus and computer program product for executing applications in a hybrid cloud | |
CN112860277A (en) | Software deployment method, device and computer readable storage medium | |
CN104504587A (en) | Advertisement monitoring method and device, electronic apparatus | |
CN106919690B (en) | Information shielding method and device and electronic equipment | |
CN104219312B (en) | A kind of method and device of installation procedure | |
CN106682491A (en) | Application downloading method and device | |
CN105704296A (en) | Application environment cloning method and device | |
CN112199151B (en) | Application program running method and device | |
CN114268958B (en) | Method and device for simulating real mobile phone by cloud mobile phone and computer equipment | |
CN106293814B (en) | Upgrading method and device | |
CN103177211A (en) | Software user terminal registration method and software user terminal registration system | |
CN108334366A (en) | A kind of online software delivery method, net purchase platform and delivery system | |
CN113971191A (en) | Data import method and device and computer readable storage medium | |
CN109495319B (en) | Method, device and equipment for determining fault information of CDN node | |
CN107391170A (en) | Support multivariant upgrade method, device and computer equipment | |
CN109348472B (en) | OTA (over the air) upgrading method and system based on single-point pushing |
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 | ||
CB02 | Change of applicant information |
Address after: 100032 NO.332, 3rd floor, Building 102, 28 xinjiekouwai street, Xicheng District, Beijing Applicant after: Qianxin Technology Group Co.,Ltd. Applicant after: Qianxin Wangshen information technology (Beijing) Co.,Ltd. Address before: 100032 NO.332, 3rd floor, Building 102, 28 xinjiekouwai street, Xicheng District, Beijing Applicant before: Qianxin Technology Group Co.,Ltd. Applicant before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |