CN113489763B - Method, device, equipment and storage medium for closing and searching My mobile phone function - Google Patents

Method, device, equipment and storage medium for closing and searching My mobile phone function Download PDF

Info

Publication number
CN113489763B
CN113489763B CN202110678030.8A CN202110678030A CN113489763B CN 113489763 B CN113489763 B CN 113489763B CN 202110678030 A CN202110678030 A CN 202110678030A CN 113489763 B CN113489763 B CN 113489763B
Authority
CN
China
Prior art keywords
request
iphone
icloud
closing
token
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
CN202110678030.8A
Other languages
Chinese (zh)
Other versions
CN113489763A (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.)
Shenzhen Ruan Niu Technology Group Co ltd
Original Assignee
Afirstsoft Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Afirstsoft Co Ltd filed Critical Afirstsoft Co Ltd
Priority to CN202110678030.8A priority Critical patent/CN113489763B/en
Publication of CN113489763A publication Critical patent/CN113489763A/en
Application granted granted Critical
Publication of CN113489763B publication Critical patent/CN113489763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method, a device, equipment and a storage medium for closing and searching the function of a my mobile phone, wherein the method comprises the following steps: setting a request agent in the iPhone; performing an operation of checking the iCloud capacity in the iPhone, and obtaining a first request sent by the iPhone to the iCloud server for checking the iCloud capacity through the request agent; obtaining an authentication supplementary token required for closing the function of searching my mobile phone from the first request; constructing a second request for acquiring account setting information from the iboud server; receiving a first response returned by the iCloud server, and obtaining an identity verification token for searching for my mobile phone from the first response; and constructing a third request for closing and searching the My mobile phone function based on the authentication supplementary token and the authentication token, and sending the third request to the iCloud server. The invention realizes closing the function of searching for the my mobile phone under the condition of not inputting the user password, and meets the account switching requirement of the user.

Description

Method, device, equipment and storage medium for closing and searching My mobile phone function
Technical Field
The present invention relates to the field of system activation technologies, and in particular, to a method, an apparatus, a device, and a storage medium for closing and searching a my mobile phone function.
Background
At present, if the user is an iPhone of another person, a situation is often encountered that the user knows that the screen locking password of the mobile phone can unlock the mobile phone screen for normal operation, but because the last user forgets to log out of the Apple ID, the current user cannot take the password of the original Apple ID to log out of the Apple ID normally, the user cannot log in a new Apple ID account, and data such as a photo, an address book and the like on the mobile phone can be automatically uploaded to an iCloud cloud disk of another person, so that the risk of revealing private data exists.
The search for my iPhone includes an activate lock function, and after the user opens the search for my iPhone, the activate lock will automatically open and after the function is closed, the activate lock will also be closed. In these cases, in order to be able to log out the Apple ID, the "find my iPhone" must be closed first, because the "find my iPhone" will be turned on by default after logging in the Apple ID account, and the "find my iPhone" includes the activation lock function, and only if the "find my iPhone" is closed, it can log out the old Apple ID to log in the new Apple ID under the condition of forgetting the password, and the prior art lacks a scheme that can turn off the "find my iPhone" function without inputting the user password.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
The main purpose of the invention is to solve the problem that the function of searching my iPhone is closed under the condition that the user password is not input.
The first aspect of the present invention provides a method for closing and searching for my mobile phone functions, which is used for an iOS system, and the method for closing and searching for the my mobile phone functions includes:
setting a request agent in the iPhone;
performing an operation of checking the iCloud capacity in the iPhone, and obtaining a first request sent by the iPhone to the iCloud server for checking the iCloud capacity through the request agent;
obtaining an authentication supplementary token required for closing the function of searching my mobile phone from the first request;
constructing a second request for acquiring account setting information from the iboud server;
receiving a first response returned by the iCloud server, and obtaining an identity verification token for searching for my mobile phone from the first response;
and constructing a third request for closing and searching the My mobile phone function based on the authentication supplementary token and the authentication token, and sending the third request to the iCloud server.
In an optional implementation manner of the first aspect of the present invention, the constructing the second request for obtaining account setting information from the iboud server includes:
and based on the request format of the first request, reserving a request header part of the first request, and modifying a first URL address in a request row of the first request into a second URL address for acquiring account setting information.
In an optional implementation manner of the first aspect of the present invention, the setting a request agent in the iPhone includes:
establishing WIFI connection between the iPhone and a PC end running proxy service;
inputting the address of the proxy service in the browser of the iPhone, and downloading the description file required by the request proxy;
finding and installing the downloaded description file in the setting of the iPhone, and opening a trust switch in the certificate trust setting.
In an optional implementation manner of the first aspect of the present invention, the performing an operation of checking the iboud capacity in the iPhone includes:
clicking Apple ID on the setting page of iPhone, clicking iCloud on the appeared Apple ID page, and turning off WIFI of iPhone after seeing the capacity of iCloud in the iCloud page.
In an optional implementation manner of the first aspect of the present invention, the constructing a third request for closing the searching my mobile phone function based on the authentication supplemental token and the authentication token, and sending the third request to the iboud server includes:
and receiving a second response returned by the iCloud server, and judging whether the function of the mobile phone is successfully closed according to the status code in the second response.
In an optional implementation manner of the first aspect of the present invention, the third request includes authentication token information, authentication supplementary token information, device model information and device name information.
In an optional implementation manner of the first aspect of the present invention, the first request and the second request are GET requests, and the third request is a POST request.
A second aspect of the present invention provides an apparatus for closing a find my handset function, the apparatus for closing a find my handset function comprising:
the configuration module is used for setting a request agent in the iPhone;
the request acquisition module is used for executing the operation of checking the iCloud capacity in the iPhone, and acquiring a first request which is sent to the iCloud server by the iPhone and used for checking the iCloud capacity through the request agent;
a first token acquisition module, configured to obtain, from the first request, an authentication supplementary token required to close the function of searching my mobile phone;
the first construction module is used for constructing a second request for acquiring account setting information from the iCloud server;
the second token acquisition module is used for receiving a first response returned by the iCloud server and acquiring an identity verification token for searching for my mobile phone from the first response;
a second construction module for constructing a third request for closing the find my handset function based on the authentication supplemental token and the authentication token;
and the sending module is used for sending the third request to the iCloud server.
A third aspect of the present invention provides an apparatus for closing a find my handset function, the apparatus comprising: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the apparatus for closing the find my handset function to perform the method of closing the find my handset function as described in any one of the above.
A fourth aspect of the present invention provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a method of closing a find my handset function as defined in any of the preceding claims.
The beneficial effects are that: the invention provides a method, a device, equipment and a storage medium for closing and searching the function of a my mobile phone, wherein the method comprises the following steps: setting a request agent in the iPhone; performing an operation of checking the iCloud capacity in the iPhone, and obtaining a first request sent by the iPhone to the iCloud server for checking the iCloud capacity through the request agent; obtaining an authentication supplementary token required for closing the function of searching my mobile phone from the first request; constructing a second request for acquiring account setting information from the iboud server; receiving a first response returned by the iCloud server, and obtaining an identity verification token for searching for my mobile phone from the first response; and constructing a third request for closing and searching the My mobile phone function based on the authentication supplementary token and the authentication token, and sending the third request to the iCloud server. The invention realizes closing the function of searching for the my mobile phone under the condition of not inputting the user password, and meets the account switching requirement of the user.
Drawings
FIG. 1 is a schematic diagram of one embodiment of a method for turning off a find my handset function in accordance with the present invention;
FIG. 2 is a schematic diagram of one embodiment of an apparatus for turning off a find my handset function in accordance with the present invention;
FIG. 3 is a schematic diagram of an embodiment of an apparatus for turning off a find my phone function according to the present invention.
Detailed Description
The embodiment of the invention provides a method, a device, equipment and a storage medium for closing and searching functions of a mobile phone.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
For easy understanding, referring to fig. 1, a first aspect of the present invention provides a method for closing and searching for my mobile phone functions, for use in iOS systems, where the method for closing and searching for my mobile phone functions includes:
s100, setting a request agent in an iPhone;
before step S100, a proxy server is built on the PC side, which specifically includes:
generating a ssl certificate, generating an RSA private key with 2048 length by using opensl, and storing the RSA private key in a file cert; then using the private key file cert.key to generate a certificate cert.crt in x509 format; the private key file cert.key and the certificate cert.crt are combined to generate the final digital certificate cert.peme.
Python script proxy. Py was written defining 3 classes, proxyHandle, mittProxy, CAAuth. The CAAuth takes charge of reading and writing the ssl certificate, the ProxyHandle inherits from the basehttp request handler in the python module http.server, processing methods for various network requests from clients such as GET, POST, HEAD are realized, wherein the processing methods comprise two methods for processing https requests, one is a connect_relay method for directly sending the requests to the next stage, the other is a connect_interrupt method for analyzing the requests (i.e. the requests sent to the quota.iclou.com) needing filtering by using the certificate, and a send_ca method is additionally written, and the function sends the cert.pep certificate to the client when the request address is read to be http:// proxy.ca. Mittproxy inherits from HTTTPServer in the python module http.server, binds the ip address and 8080 port of PC in its __ init () method, sets ssl certificate, and then calls the server_forever () method to start the proxy server operation. In the connect_interrupt method, the GET request sent to https:// p15-quota.icloud.com is parsed and the print method is used to print out the header portion.
And restarting the proxy.py script, and starting the proxy service of the PC side.
And in step S100, setting the request agent in the iPhone includes: establishing WIFI connection between the iPhone and a PC end running proxy service; inputting the address of the proxy service in the browser of the iPhone, and downloading the description file required by the request proxy; finding and installing the downloaded description file in the setting of the iPhone, and opening a trust switch in the certificate trust setting. More specifically, the PC and the iPhone are accessed to the same WIFI, an agent is arranged on the iPhone, the agent mode is set to be manual in the WIFI setting of the iPhone, the IP address of the PC is filled in a column of IP addresses, and the port column is filled in 8080; opening a Safari browser on the iPhone, inputting http:// proxy.ca in the address bar, clicking forward, prompting whether to allow downloading of the description file (creating a description file, then installing it on the iOS device to manage the device), clicking to allow, and completing downloading. Finding the description file downloaded in the last step from the setting- > general- > description file of the iPhone, installing, and then opening a trust switch in the setting- > general- > about the trust setting of the local- > certificate.
S200, executing an operation of checking the iCloud capacity in the iPhone, and obtaining a first request which is sent to the iCloud server by the iPhone and used for checking the iCloud capacity through the request agent;
in step S200, performing an operation of checking the iboud capacity in the iPhone includes: clicking Apple ID on the setting page of iPhone, clicking iCloud on the appeared Apple ID page, and turning off WIFI of iPhone after seeing the capacity of iCloud in the iCloud page. More specifically, click Apple ID at the top of the iPhone's setup page, then click iCloud on the Apple ID page that appears, and close the iPhone's wifi after seeing iCloud's capacity in the iCloud page. At this time, some POST, GET, etc. requests are already displayed in the script running window.
S300, acquiring an identity verification supplementary token required by closing and searching the function of the my mobile phone from the first request;
illustratively, the header portion of the first request (GET request sent to quota. Icloud. Com) is also shown as follows:
192.168.51.79--"CONNECT setup.icloud.com:443HTTP/1.1"200-
192.168.51.79--"CONNECT appleid.apple.com:443HTTP/1.1"200-
192.168.51.79--"CONNECT gsa.apple.com:443HTTP/1.1"200–
192.168.51.79--"CONNECT p15-quota.icloud.com:443HTTP/1.1"200-
GET https://p15-quota.icloud.com/quotaservice/external/ios/16006049584/storageUsageInfo
{
Host:p15-quota.icloud.com:443
X-Apple-I-MD-RINFO:50660608
X-Client-UDID:00008027-000D29A83E05802E
Authorization:BasicMTYwMDYwNDc1ODM6SUFBQUFBQUFCTHdJQUFBQUFHQ3JDY0VSRG1kekxtbGpiRzkxWkM1aGRYUm92UUFlQWQyNzVKbDgzYlowbzdiOVdtWUMyQkk0NVVhdDM1ay9COW1NMkdpYVI4dzcveGRVY2ZjNmxvUlBialVuTnVBL1VVK0JRRkRDQjYxdVFyQVZRdm5LMWRsVFpIbHQzVkU0RVdicG9ub0pmSkxmeHNXQWJPMmh0NUJGVWl2dlZ3ZzVGOTI3WE50b29PSG5UUUhlajZiZXN2VTBvZz09
Accept:*/*
X-Apple-I-Repair:1
X-MMe-Country:DE
X-MMe-Client-Info:<iPhone9,4><iPhone OS;14.5.1;18E212><com.apple.AppleAccount/1.0(com.apple.Preferences/1054.15)>
X-MMe-Language:zh-Hans-DE,de-DE
Accept-Language:zh-Hans-DE
X-Apple-I-MD-M:
feHF7fHLoZlcH5raOvKk89Y94NVaSgGRa+md9qAVcCVZrEfivqFmrelxNuA/m+6URZzTVafTp7TuY6FO
X-Apple-I-TimeZone:GMT+8
User-Agent:Settings/1054.15iOS/14.5.1
X-Apple-I-Client-Time:2021-05-24T08:09:59Z
X-Apple-ADSID:000746-08-2597041e-ee99-43d0-ab63-bdefd969063f
X-Apple-I-MD:
AAAABQAAABAULoE5I9sJc0EH+MJMNZNcAAAAAw==
Accept-Encoding:gzip,deflate
Connection:close
X-Apple-I-Locale:zh-Hans_DE
}。
s400, constructing a second request for acquiring account setting information from the iCloud server;
in step S400, constructing a second request for acquiring account setting information from the iboud server includes: and based on the request format of the first request, reserving a request header part of the first request, and modifying a first URL address in a request row of the first request into a second URL address for acquiring account setting information. More specifically, the header portion of the first request is copied, and the contents between brackets in the example of step S200 above, a GET request is constructed to modify the target address URL to
https:// setup.icloud.com/setup/get_account_settings is then sent out in the following request format:
POST https://setup.icloud.com/setup/get_account_settings
{
Host:p15-quota.icloud.com:443
X-Apple-I-MD-RINFO:50660608
X-Client-UDID:00008027-000D29A83E05802E
Authorization:BasicMTYwMDYwNDc1ODM6SUFBQUFBQUFCTHdJQUFBQUFHQ3JDY0VSRG1kekxtbGpiRzkxWkM1aGRYUm92UUFlQWQyNzVKbDgzYlowbzdiOVdtWUMyQkk0NVVhdDM1ay9COW1NMkdpYVI4dzcveGRVY2ZjNmxvUlBialVuTnVBL1VVK0JRRkRDQjYxdVFyQVZRdm5LMWRsVFpIbHQzVkU0RVdicG9ub0pmSkxmeHNXQWJPMmh0NUJGVWl2dlZ3ZzVGOTI3WE50b29PSG5UUUhlajZiZXN2VTBvZz09
Accept:*/*
X-Apple-I-Repair:1
X-MMe-Country:DE
X-MMe-Client-Info:<iPhone9,4><iPhone OS;14.5.1;18E212><com.apple.AppleAccount/1.0(com.apple.Preferences/1054.15)>
X-MMe-Language:zh-Hans-DE,de-DE
Accept-Language:zh-Hans-DE
X-Apple-I-MD-M:
feHF7fHLoZlcH5raOvKk89Y94NVaSgGRa+md9qAVcCVZrEfivqFmrelxNuA/m+6URZzTVafTp7TuY6FO
X-Apple-I-TimeZone:GMT+8
User-Agent:Settings/1054.15iOS/14.5.1
X-Apple-I-Client-Time:2021-05-24T08:09:59Z
X-Apple-ADSID:000746-08-2597041e-ee99-43d0-ab63-bdefd969063f
X-Apple-I-MD:
AAAABQAAABAULoE5I9sJc0EH+MJMNZNcAAAAAw==
Accept-Encoding:gzip,deflate
Connection:close
X-Apple-I-Locale:zh-Hans_DE
}。
s500, receiving a first response returned by the iCloud server, and obtaining an identity verification token for searching for my mobile phone from the first response;
in step S500, the response format returned by the iboud server is approximately as follows (since the response is too long, part of the content is omitted, replaced with "..+ -.)"):
the response of the iCloud server contains two key values, mmafMIPAppToken and dsPrsID. The mmeFMIPAppToken is a token for identity verification of the app of FindMyiPhone with the iCloud server, and the dsPrsID is the dsID of the iPhone. The character string value of the field of the mmeFMIPAppToken and the character string value of the dsPrsID are taken out from the response of the server, character string splicing is carried out according to the format of dsPrsID: mmeFMIPAppToken, and then Base64 encryption is used to obtain a token character string. The spliced character strings are as follows:
16006049584:IAAAAAAABLwIAAAAAGCrYGkRDmdzLmljbG91ZC5hdXRovQBrOSP2uxpKq
Q0S95ZDLTgXyGPQE0LhgSB0jgGP0tt0eNOHUOyVj7WM_olXAh4ROYdFUmuimugmB_R3p0p
70LbKEsRcdQzYsZRl6WeVkYZS90yDMLGQuwDycKs0lkCTsNKQGCcnwHYxoXhPqw9SKxo-A
5hHzA~~
the encrypted string is as follows:
MTYwMDYwNDk1ODTvvJpJQUFBQUFBQUJMd0lBQUFBQUdDcllHa1JEbWR6TG1samJHOTFaQzVoZFhSb3ZRQnJPU1AydXhwS3FRMFM5NVpETFRnWHlHUFFFMExoZ1NCMGpnR1AwdHQwZU5PSFVPeVZqN1dNX29sWEFoNFJPWWRGVW11aW11Z21CX1IzcDBwNzBMYktFc1JjZFF6WXNaUmw2V2VWa1laUzkweURNTEdRdXdEeWNLczBsa0NUc05LUUdDY253SFl4b1hoUHF3OVNLeG8tQTVoSHpBfn4=。
s600, constructing a third request for closing and searching the My mobile phone function based on the authentication supplementary token and the authentication token, and sending the third request to the iCloud server.
Illustratively, the step of constructing the third request is as follows: constructing a POST request, wherein the body format of the request is 'app token= & md= & mdm= & devicemodel= & devicename=', taking out two token and token generated in the seventh step from the header of the request filtered in the 7 th step, filling the two token and token generated in the seventh step into the back of the equal sign of the corresponding position of the body part, filling the device model and the device name of the iPhone into the back of 'devicemodel=' and 'devicename=', and then sending the following URL addresses: https:// fmi.cube.net/index.php, the format of the request is as follows:
POST https://fmi.cutome.net/index.php
{apptoken=MTYwMDYwNDk1ODTvvJpJQUFBQUFBQUJMd0lBQUFBQUdDcllHa1JEbWR6TG1samJHOTFaQzVoZFhSb3ZRQnJPU1AydXhwS3FRMFM5NVpETFRnWHlHUFFFMExoZ1NCMGpnR1AwdHQwZU5PSFVPeVZqN1dNX29sWEFoNFJPWWRGVW11aW11Z21CX1IzcDBwNzBMYktFc1JjZFF6WXNaUmw2V2VWa1laUzkweURNTEdRdXdEeWNLczBsa0NUc05LUUdDY253SFl4b1hoUHF3OVNLeG8tQTVoSHpBfn4=&md=AAAABQAAABAULoE5I9sJc0EH+MJMNZNcAAAAAw==&mdm=feHF7fHLoZlcH5raOvKk89Y94NVaSgGRa+md9qAVcCVZrEfivqFmrelxNuA/m+6URZzTVafTp7TuY6FO&devicemodel=iPhone9,4&devicename=BruceiPhone}。
as can be seen from the above, the third request of the present invention includes authentication token information, authentication supplementary token information, device model information and device name information, the first request and the second request of the present invention are GET requests, and the third request is a POST request.
In an optional implementation manner of the first aspect of the present invention, the constructing a third request for closing the searching my mobile phone function based on the authentication supplemental token and the authentication token, and sending the third request to the iboud server includes:
and receiving a second response returned by the iCloud server, and judging whether the function of the mobile phone is successfully closed according to the status code in the second response. When the second response returned by the iCloud server contains "status code": "200", the "find MyiPhone" is successfully turned off, and the activation lock is turned off.
A second aspect of the present invention provides an apparatus for closing a find my handset function, the apparatus for closing a find my handset function comprising:
a configuration module 10, configured to set a request agent in the iPhone;
a request obtaining module 20, configured to perform an operation of checking the iCloud capacity in the iPhone, and obtain, through the request proxy, a first request sent by the iPhone to the iCloud server for checking the iCloud capacity;
a first token acquisition module 30, configured to obtain, from the first request, an authentication supplemental token required to close the find my mobile phone function;
a first construction module 40, configured to construct a second request for acquiring account setting information from the iboud server;
a second token obtaining module 50, configured to receive a first response returned by the iboud server, and obtain an authentication token for searching my mobile phone from the first response;
a second construction module 60 for constructing a third request for closing the find my handset function based on the authentication supplemental token and the authentication token;
and a sending module 70, configured to send the third request to the iboud server.
In an optional implementation manner of the second aspect of the present invention, the first construction module 40 is specifically configured to, based on a request format of the first request, reserve a request header portion of the first request, and modify a first URL address in a request line of the first request to a second URL address for obtaining account setting information.
In an alternative embodiment of the second aspect of the present invention, the configuration module 10 includes:
the connection module is used for establishing WIFI connection between the iPhone and the PC end running the proxy service;
the downloading module is used for inputting the address of the proxy service in the browser of the iPhone and downloading the description file required by the request proxy;
and the setting module is used for finding and installing the downloaded description file in the setting of the iPhone and opening a trust switch in the certificate trust setting.
In an alternative embodiment of the second aspect of the present invention, the performing an operation of checking iboud capacity in an iPhone includes:
clicking Apple ID on the setting page of iPhone, clicking iCloud on the appeared Apple ID page, and turning off WIFI of iPhone after seeing the capacity of iCloud in the iCloud page.
In an optional embodiment of the second aspect of the present invention, the apparatus for closing the function of searching for my mobile phone further includes:
and the judging module is used for receiving a second response returned by the iCloud server, and judging whether the function of searching the mobile phone is successfully closed or not according to the state code in the second response.
In an optional embodiment of the second aspect of the present invention, the third request includes authentication token information, authentication supplementary token information, device model information and device name information.
In an optional embodiment of the second aspect of the present invention, the first request and the second request are GET requests, and the third request is a POST request.
Fig. 3 is a schematic structural diagram of an apparatus for closing a function of searching for my mobile phone according to an embodiment of the present invention, where the apparatus for closing a function of searching for my mobile phone may have a relatively large difference according to a configuration or performance, and may include one or more processors 80 (central processing units, CPU) (e.g., one or more processors) and a memory 90, and one or more storage media 100 (e.g., one or more mass storage devices) storing application programs or data. The memory and storage medium may be transitory or persistent. The program stored on the storage medium may include one or more modules (not shown), each of which may include a series of instruction operations in the device for turning off the find my handset function. Still further, the processor may be configured to communicate with the storage medium and execute a series of instruction operations in the storage medium on the device for turning off the find my handset function.
The device for turning off the find my handset functionality may also include one or more power supplies 110, one or more wired or wireless network interfaces 120, one or more input output interfaces 130, and/or one or more operating systems such as Windows Server, mac OS X, unix, linux, freeBSD, etc. It will be appreciated by those skilled in the art that the device structure shown in fig. 3 for closing the find my handset function does not constitute a limitation of the device for closing the find my handset function, and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and may also be a volatile computer readable storage medium, where instructions are stored in the computer readable storage medium, which when executed on a computer, cause the computer to perform the steps of the method of closing a find my mobile phone function.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system or apparatus and unit described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. A method for closing and searching for my mobile phone function for iOS system, characterized in that the method for closing and searching for my mobile phone function comprises:
setting a request agent in the iPhone;
performing an operation of checking the iCloud capacity in the iPhone, and obtaining a first request sent by the iPhone to the iCloud server for checking the iCloud capacity through the request agent;
obtaining an authentication supplementary token required for closing the function of searching my mobile phone from the first request;
constructing a second request for acquiring account setting information from the iboud server; the first request and the second request are GET requests;
receiving a first response returned by the iCloud server, and obtaining an identity verification token for searching for my mobile phone from the first response;
constructing a third request for closing the function of searching my mobile phone based on the authentication supplementary token and the authentication token, and sending the third request to the iCloud server; the third request is a POST request, and the third request comprises authentication token information, authentication supplementary token information, equipment model information and equipment name information;
the second request configured to obtain account setting information from the iboud server includes:
based on the request format of the first request, reserving a request head part of the first request, and modifying a first URL address in a request row of the first request into a second URL address for acquiring account setting information;
the setting the request agent in the iPhone comprises the following steps:
establishing WIFI connection between the iPhone and a PC end running proxy service;
inputting the address of the proxy service in the browser of the iPhone, and downloading the description file required by the request proxy;
finding and installing the downloaded description file in the setting of the iPhone, and opening a trust switch in the certificate trust setting.
2. The method of claim 1, wherein the performing an operation in an iPhone to view iboud capabilities comprises:
clicking Apple ID on the setting page of iPhone, clicking iCloud on the appeared Apple ID page, and turning off WIFI of iPhone after seeing the capacity of iCloud in the iCloud page.
3. The method of claim 1, wherein the constructing a third request for closing the find my mobile phone function based on the authentication supplemental token and the authentication token, and sending the third request to the iboud server comprises:
and receiving a second response returned by the iCloud server, and judging whether the function of the mobile phone is successfully closed according to the status code in the second response.
4. An apparatus for closing a find my handset function, the apparatus for closing a find my handset function comprising:
the configuration module is used for setting a request agent in the iPhone;
the request acquisition module is used for executing the operation of checking the iCloud capacity in the iPhone, and acquiring a first request which is sent to the iCloud server by the iPhone and used for checking the iCloud capacity through the request agent;
a first token acquisition module, configured to obtain, from the first request, an authentication supplementary token required to close the function of searching my mobile phone;
the first construction module is used for constructing a second request for acquiring account setting information from the iCloud server; the first request and the second request are GET requests;
the second token acquisition module is used for receiving a first response returned by the iCloud server and acquiring an identity verification token for searching for my mobile phone from the first response;
a second construction module for constructing a third request for closing the find my handset function based on the authentication supplemental token and the authentication token;
the sending module is used for sending the third request to the iCloud server; the third request is a POST request, and the third request comprises authentication token information, authentication supplementary token information, equipment model information and equipment name information;
the first construction module is specifically configured to, based on a request format of the first request, reserve a request header portion of the first request, and modify a first URL address in a request line of the first request to a second URL address for obtaining account setting information;
the configuration module comprises:
the connection module is used for establishing WIFI connection between the iPhone and the PC end running the proxy service;
the downloading module is used for inputting the address of the proxy service in the browser of the iPhone and downloading the description file required by the request proxy;
and the setting module is used for finding and installing the downloaded description file in the setting of the iPhone and opening a trust switch in the certificate trust setting.
5. A device for closing a find my handset function, the device for closing a find my handset function comprising: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line;
the at least one processor invoking the instructions in the memory to cause the apparatus for closing the find my handset function to perform the method of closing the find my handset function of any one of claims 1-3.
6. A computer readable storage medium having stored thereon a computer program which when executed by a processor implements a method of closing a find my handset function as claimed in any of claims 1 to 3.
CN202110678030.8A 2021-06-18 2021-06-18 Method, device, equipment and storage medium for closing and searching My mobile phone function Active CN113489763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110678030.8A CN113489763B (en) 2021-06-18 2021-06-18 Method, device, equipment and storage medium for closing and searching My mobile phone function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110678030.8A CN113489763B (en) 2021-06-18 2021-06-18 Method, device, equipment and storage medium for closing and searching My mobile phone function

Publications (2)

Publication Number Publication Date
CN113489763A CN113489763A (en) 2021-10-08
CN113489763B true CN113489763B (en) 2023-11-21

Family

ID=77933762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110678030.8A Active CN113489763B (en) 2021-06-18 2021-06-18 Method, device, equipment and storage medium for closing and searching My mobile phone function

Country Status (1)

Country Link
CN (1) CN113489763B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678981A (en) * 2013-12-06 2014-03-26 北京奇虎科技有限公司 Method and device for realizing different interfaces for different users
CN103986584A (en) * 2014-06-11 2014-08-13 四川省宁潮科技有限公司 Double-factor identity verification method based on intelligent equipment
WO2014134180A2 (en) * 2013-02-26 2014-09-04 Digimarc Corporation Methods and arrangements for smartphone payments and transactions
CN107317910A (en) * 2016-04-27 2017-11-03 陈立旭 A kind of method that iPhone is given for change after losing
CN107430657A (en) * 2015-02-27 2017-12-01 三星电子株式会社 Pass through the certification of agency
CN108959475A (en) * 2018-06-20 2018-12-07 联动优势电子商务有限公司 A kind of webpage setting method and device
GB201900455D0 (en) * 2019-01-13 2019-02-27 Brown Zoe Louise Find my dog - GPS device (find my iphone similarity
CN110663055A (en) * 2017-05-16 2020-01-07 苹果公司 Facilitating funds transfer between user accounts
CN111221845A (en) * 2019-12-31 2020-06-02 华为技术有限公司 Cross-device information searching method and terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012075099A2 (en) * 2010-11-30 2012-06-07 Google Inc. Use of location tagging in data communications
US20150294278A1 (en) * 2014-04-15 2015-10-15 Tu Nguyen System and Method for Recycling Electronics
CA3074916A1 (en) * 2014-10-02 2016-04-07 Ecoatm, Llc Application for device evaluation and other processes associated with device recycling

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014134180A2 (en) * 2013-02-26 2014-09-04 Digimarc Corporation Methods and arrangements for smartphone payments and transactions
CN103678981A (en) * 2013-12-06 2014-03-26 北京奇虎科技有限公司 Method and device for realizing different interfaces for different users
CN103986584A (en) * 2014-06-11 2014-08-13 四川省宁潮科技有限公司 Double-factor identity verification method based on intelligent equipment
CN107430657A (en) * 2015-02-27 2017-12-01 三星电子株式会社 Pass through the certification of agency
CN107317910A (en) * 2016-04-27 2017-11-03 陈立旭 A kind of method that iPhone is given for change after losing
CN110663055A (en) * 2017-05-16 2020-01-07 苹果公司 Facilitating funds transfer between user accounts
CN108959475A (en) * 2018-06-20 2018-12-07 联动优势电子商务有限公司 A kind of webpage setting method and device
GB201900455D0 (en) * 2019-01-13 2019-02-27 Brown Zoe Louise Find my dog - GPS device (find my iphone similarity
CN111221845A (en) * 2019-12-31 2020-06-02 华为技术有限公司 Cross-device information searching method and terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
教你几招 关于iOS 7的10个小技巧;Techevan;移动信息图库;;移动信息(11);全文 *
苹果I族应用技巧十五则;王志军;;电脑知识与技术(经验技巧)(12);全文 *

Also Published As

Publication number Publication date
CN113489763A (en) 2021-10-08

Similar Documents

Publication Publication Date Title
JP6348661B2 (en) Company authentication through third-party authentication support
JP4886508B2 (en) Method and system for stepping up to certificate-based authentication without interrupting existing SSL sessions
US9231904B2 (en) Deploying and managing networked devices
RU2332711C2 (en) PROTECTED CLIENT SYSTEM MANDATE PROCESSING FOR ACCESSING Web-BASED RESOURCES
US8402518B2 (en) Secure management of authentication information
US8800023B2 (en) Remote access architecture enabling a client to perform an operation
CN110326267B (en) Network security system, method and storage medium with substitute digital certificate
Chadwick et al. Adding federated identity management to openstack
WO2018077169A1 (en) Image repository authorization, access and management method, server, and client
CN102713926B (en) Confidential information is revealed and is prevented system and method
CN104618108B (en) Safe communication system
WO2019000092A1 (en) Hybrid authentication systems and methods
US20130332575A1 (en) Efficient data transfer for cloud storage by centralized management of access tokens
US9813421B2 (en) Systems and methods for secure resource access and network communication
US20160119348A1 (en) Systems and methods for secure resource access and network communication
US20160119342A1 (en) Systems and methods for secure resource access and network communication
EP1442580A2 (en) Method and system for providing secure access to resources on private networks
CN112235266A (en) Data processing method, device, equipment and storage medium
CN113489763B (en) Method, device, equipment and storage medium for closing and searching My mobile phone function
CN109525478B (en) SSL VPN connection method and device
Cisco Release Notes for the Cisco VPN 5000 Manager Version 5.5.1
US20110055908A1 (en) System and method for remotely accessing and controlling a networked computer
JP6055546B2 (en) Authentication apparatus, authentication method, and program
JP6162611B2 (en) Communication control server, communication control method, and program
JP2003308304A (en) Communication terminal, method and program for establishing communication, and communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 1301-1310, building 2, jinlitong financial center building, 1100 Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen Ruan Niu Technology Group Co.,Ltd.

Address before: 1301-1310, building 2, jinlitong financial center building, 1100 Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong 518000

Patentee before: AFIRSTSOFT CO.,LTD.

CP01 Change in the name or title of a patent holder