CN104090739A - Electronic equipment and control method thereof - Google Patents

Electronic equipment and control method thereof Download PDF

Info

Publication number
CN104090739A
CN104090739A CN201410097757.7A CN201410097757A CN104090739A CN 104090739 A CN104090739 A CN 104090739A CN 201410097757 A CN201410097757 A CN 201410097757A CN 104090739 A CN104090739 A CN 104090739A
Authority
CN
China
Prior art keywords
electronic equipment
communication port
communication passage
auxiliary positioning
default
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
Application number
CN201410097757.7A
Other languages
Chinese (zh)
Other versions
CN104090739B (en
Inventor
程少炼
林万区
向名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410097757.7A priority Critical patent/CN104090739B/en
Publication of CN104090739A publication Critical patent/CN104090739A/en
Application granted granted Critical
Publication of CN104090739B publication Critical patent/CN104090739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses electronic equipment and a control method thereof. The method comprises the followings: when the auxiliary positioning unit of electronic equipment acquires the self current position information of the electronic equipment, judging whether a first communication channel is a default communication channel of the electronic equipment; when that the first communication channel is not the default communication channel is judged, keeping the first communication channel to be in a pre-arranged time under a state of activation and switching the default communication channel to be under a state of activation, so as to accomplish the first operation to a first application on the basis of the first communication channel. The electronic equipment and the control method thereof avoid the condition that no communication channel is available for use due to that communication channel switching is initiated immediately after the auxiliary positioning unit acquires position information, so that the first application can promptly show the current position information based on the electronic equipment is ensured, and the user experience is improved.

Description

Electronic equipment and control method thereof
Technical field
The present invention relates to the information processing technology, relate in particular to a kind of electronic equipment and control method thereof.
Background technology
Location-based location-based service in electronic equipment (LBS, Location Based Services) is often used agps system (AGPS, Assisted Global Positioning System) to accelerate locating speed in the time of location, current, it is that secure user plane location (SUPL, Secure User Plane Location) server carries out auxiliary positioning that AGPS uses independently access point, for example, at employing code division multiple access (CDMA, Code Division Multiple Access) electronic equipment in, AGPS acquiescence is used WAP (wireless application protocol) (WAP, Wireless Application Protocol) connect and access SUPL server, but because the communication port based on WAP is limited to the support of website, therefore, in electronic equipment, often acquiescence is used the communication port based on NET, correspondingly, in the time that AGPS opens, need to disconnect current communication port based on NET and be switched to the communication port based on WAP, complete AGPS alternately to obtain the current location information of electronic equipment self, after finishing alternately, AGPS disconnects the communication port based on WAP, and switch back the communication port based on NET,
And in practical application, use the information that is applied in AGPS and finishes alternately to need to obtain by communication port the current location based on electronic equipment self of LBS, but in communication port handoff procedure, any communication passage is all unavailable due to now, cause application obtaining information immediately.
In sum, cause the application based on LBS in electronic equipment cannot immediately obtain the information of the current location based on electronic equipment self for AGPS while unlatching, correlation technique there is no effective solution.
Summary of the invention
The embodiment of the present invention provides a kind of electronic equipment and control method thereof, and can solve AGPS unlatching time, in electronic equipment, the application based on LBS does not have the communication port that can immediately utilize, thereby obtains the problem of the information based on electronic equipment current location.
The technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of control method of electronic device, be applied to and there is auxiliary positioning unit and support in the electronic equipment of the first application of operation position-based service, wherein, described auxiliary positioning unit is carried out auxiliary positioning operation based on the first communication port, to obtain the current positional information of described electronic equipment; Described method comprises:
In the time that described auxiliary positioning unit is carried out auxiliary positioning operation based on described the first communication port, detect described auxiliary positioning unit and whether obtained the current positional information of described electronic equipment self, generate the first testing result;
In the time that described the first testing result characterizes described auxiliary positioning unit and obtained the current positional information of described electronic equipment self, judge whether described the first communication port is the default communication passage of described electronic equipment;
In the time judging described the first communication port and not being default communication passage,
Keep described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port;
Wherein, described first be operating as the operation relevant to the current location information of described electronic equipment self.
Alternatively, in the time judging described the first communication port and be not default communication passage, described method also comprises:
Detect and whether have second communication passage, the communication port except described the first communication port and described default communication passage that described second communication passage can utilize for described electronic equipment;
If existed, switching described default communication passage is state of activation, and completes the first operation about described the first application based on described second communication passage;
If there is no, continue to carry out described the first communication port of described maintenance after state of activation Preset Time, switch the operation that described default communication passage is state of activation.
Alternatively, described method also comprises: in the time judging described the first communication port and be default communication passage, keeping described the first communication port is state of activation.
Alternatively, described the first communication port is the communication port connecting based on WAP (wireless application protocol) WAP; Described default communication passage is the communication port that NET Network Based connects.
Alternatively, described second communication passage comprises: the communication port that authenticates direct-connected WiFi-Direct, USB (universal serial bus) USB, bluetooth Bluetooth, purple honeybee Zigbee agreement based on wireless compatibility certification WiFi, wireless compatibility.
The embodiment of the present invention also provides a kind of electronic equipment, and it supports the first application of operation position-based service; Described electronic equipment comprises: auxiliary positioning unit, detecting unit, testing result processing unit and the first control module; Wherein,
Described auxiliary positioning unit, for carrying out auxiliary positioning operation based on the first communication port, to obtain the current positional information of described electronic equipment;
Described detecting unit, for carrying out auxiliary positioning when operation in described auxiliary positioning unit based on described the first communication port, detects described auxiliary positioning unit and whether has obtained self current positional information of described electronic equipment, generates the first testing result;
Described testing result processing unit, while having obtained the current positional information of described electronic equipment self for characterizing described auxiliary positioning unit when described the first testing result, judge whether described the first communication port is the default communication passage of described electronic equipment, and in the time judging the default communication passage that described the first communication port is not described electronic equipment, trigger described the first control module;
Described the first control module, for keeping described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port;
Wherein, described first be operating as the operation relevant to the current location information of described electronic equipment self.
Alternatively, described electronic equipment also comprises:
The second control module, is state of activation for switching described default communication passage, and completes the first operation about described the first application based on described second communication passage;
Described testing result processing unit, also, in the time judging described the first communication port and be not default communication passage, detects whether there is second communication passage, if so, triggers described the second control module; Otherwise, trigger described the first control module; Wherein, the communication port except described the first communication port and described default communication passage that described second communication passage can utilize for described electronic equipment.
Alternatively, described electronic equipment also comprises:
The 3rd control module, while being default communication passage for judging described the first communication port when described testing result processing unit, keeping described the first communication port is state of activation.
Alternatively, described the first communication port is the communication port connecting based on WAP (wireless application protocol) WAP; Described default communication passage is the communication port that NET Network Based connects.
Alternatively, described second communication passage comprises: based on wireless compatibility certification (WiFi, Wireless Fidelity), the direct-connected (WiFi-Direct of wireless compatibility certification, Wireless Fidelity Direct), the communication port of USB (universal serial bus) (USB, Universal Serial Bus), bluetooth (Bluetooth), purple honeybee (Zigbee) agreement.
In the embodiment of the present invention, when auxiliary positioning unit is obtained after electronic equipment current location information by the first communication port, continue to keep the first communication port in state of activation Preset Time, so that first be applied in the first operation completing in Preset Time based on electronic equipment current location, avoid initiating communication passage switching immediately after auxiliary positioning unit gets positional information, cause the first application there is no the utilizable situation of communication port, thereby can ensure that the first application can present the information based on electronic equipment current location in time, promote user's experience.
Brief description of the drawings
Fig. 1 is the realization flow schematic diagram of control method of electronic device in the embodiment of the present invention one;
Fig. 2 is the realization flow schematic diagram of control method of electronic device in the embodiment of the present invention two;
Fig. 3 is the realization flow schematic diagram of control method of electronic device in the embodiment of the present invention three;
Fig. 4 is the realization flow schematic diagram of control method of electronic device in the embodiment of the present invention four;
Fig. 5 is the composition structural representation of electronic equipment in the embodiment of the present invention five;
Fig. 6 is the composition structural representation of electronic equipment in the embodiment of the present invention six.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Embodiment mono-
The present embodiment is recorded a kind of control method of electronic device, be applied to and there is auxiliary positioning unit and support in the electronic equipment of the first application of operation position-based service, wherein, described auxiliary positioning unit is carried out auxiliary positioning operation based on the first communication port, to obtain the current positional information of electronic equipment self; Described auxiliary positioning unit can be AGPS, is certainly not limited to this; The described first current location information based on electronic equipment that is applied as support operation in described electronic equipment carries out the application of associative operation, for example: navigation type application (as electronic chart) and social class application (as micro-letter, QQ).
Communication port in the electronic equipment that the present embodiment is recorded can comprise the communication port based on NET and the communication port based on WAP, and wherein, in electronic equipment, often acquiescence is used the communication port based on NET to access more website with support electronic equipment; And AGPS uses communication port (i.e. the first communication port) based on WAP to carry out auxiliary positioning operation to obtain the positional information of electronic equipment.As shown in Figure 1, the control method of electronic device that the present embodiment is recorded comprises the following steps:
Step 101, carries out auxiliary positioning when operation in described auxiliary positioning unit based on described the first communication port, detects described auxiliary positioning unit and whether obtained the current positional information of described electronic equipment self, generates the first testing result.
Step 102, judges whether described the first testing result characterizes described auxiliary positioning unit and obtained the current positional information of described electronic equipment self, if so, performs step 103; Otherwise, return to step 101.
Step 103, judges whether described the first communication port is the default communication passage of described electronic equipment; If so, stop processing; Otherwise, execution step 104.
Step 104, keeps described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port.
Wherein, described first is operating as the operation relevant to the current location information of described electronic equipment self, be applied as navigation application as example taking described first, one of described the first operation is exemplified as: based on the current location of electronic equipment, obtain the traffic corresponding with current location, public service information; Described Preset Time was determined according to the deadline of described the first operation, in practical application, can carry out record to the deadline of multiple the first operations in electronic equipment, and the deadline the longest duration is defined as to described Preset Time.
Below in conjunction with concrete use scenes, above-mentioned steps is described,
Scene explanation: electronic equipment support moves micro-letter (corresponding the first application), and the communication port of electronic equipment acquiescence use based on NET is to support electronic equipment to access more website; And micro-letter be need to obtain electronic equipment current location information time, by trigger AGPS use communication port based on WAP the first communication port carry out auxiliary positioning operation, to obtain the current positional information of electronic equipment self.
Realize technique effect: user trigger micro-letter show near micro-letter good friend time, make micro-letter (the first application) obtain the current positional information of electronic equipment by AGPS, and ensure position quick obtaining that micro-letter can be based on the electronic equipment information near micro-letter good friend, avoid occurring obtaining the situation of failure.
Implementation procedure:
Whether periodically detect auxiliary positioning unit has obtained the current positional information of electronic equipment self to electronic equipment, when judging while obtaining the current positional information of electronic equipment self, continue to judge whether the first communication port is the default communication passage of electronic equipment, in the time judging the first communication port and not being default communication passage, keep described the first communication port in state of activation Preset Time, in Preset Time, make micro-letter based on the first communication port, obtain the information of micro-letter good friend electronic equipment current location near, after Preset Time arrives, switches default communication port is state of activation, follow-up electronic equipment will carry out data communication based on default communication passage.
In the present embodiment, when auxiliary positioning unit is obtained after electronic equipment current location information by the first communication port, continue to keep the first communication port in state of activation Preset Time, so that first be applied in the first operation completing in Preset Time based on electronic equipment current location, avoid initiating communication passage switching immediately after auxiliary positioning unit gets positional information, cause the first application there is no the utilizable situation of communication port, thereby can ensure that the first application can present the information based on electronic equipment current location in time, has promoted user's experience.
Embodiment bis-
The present embodiment is recorded a kind of control method of electronic device, be applied to and there is auxiliary positioning unit and support in the electronic equipment of the first application of operation position-based service, wherein, described auxiliary positioning unit is carried out auxiliary positioning operation based on the first communication port, to obtain the current positional information of electronic equipment self; Described auxiliary positioning unit can be AGPS, is certainly not limited to this; The described first current location information based on electronic equipment that is applied as support operation in described electronic equipment carries out the application of associative operation, for example: navigation type application (as electronic chart) and social class application (as micro-letter, QQ).
Communication port in the electronic equipment that the present embodiment is recorded can comprise the communication port based on NET and the communication port based on WAP, and in electronic equipment, often the communication port of acquiescence use based on NET is that second communication passage is to support electronic equipment to access more website; And AGPS uses communication port (i.e. the first communication port) based on WAP to carry out auxiliary positioning operation to obtain the positional information of electronic equipment.
As shown in Figure 2, the control method of electronic device that the present embodiment is recorded comprises the following steps:
Step 201, carries out auxiliary positioning when operation in described auxiliary positioning unit based on described the first communication port, detects described auxiliary positioning unit and whether obtained the current positional information of described electronic equipment self, generates the first testing result.
Step 202, judges whether described the first testing result characterizes described auxiliary positioning unit and obtained the current positional information of described electronic equipment self, if so, performs step 203; Otherwise, return to step 201.
Step 203, judges whether described the first communication port is the default communication passage of described electronic equipment; If so, stop processing; Otherwise, execution step 204.
In electronic equipment, the first communication port by default when communication port, is not needed to carry out subsequent treatment.
Step 204, detects and whether has second communication passage, if existed, performs step 205; Otherwise, execution step 206.
The communication port except described the first communication port and described default communication passage that described second communication passage can utilize for described electronic equipment, for example, described second communication passage can be the communication port based on WiFi, WiFi-Direct, USB, Bluetooth, Zigbee agreement.
Step 205, switching described default communication passage is state of activation, and completes the first operation about described the first application based on described second communication passage.
Here, switching described default communication passage is state of activation, and complete the first operation about described the first application based on described second communication passage, in processing, do not distinguish sequencing, owing to existing second communication passage to operate for the first application, to obtain the information corresponding with electronic equipment self current location, therefore, can communicate immediately the switching of passage.
Step 206, keeps described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port.
Wherein, described first is operating as the operation relevant to the current location information of described electronic equipment self, be applied as navigation application as example taking described first, one of described the first operation is exemplified as: based on the current location of electronic equipment, obtain the traffic corresponding with current location, public service information; Described Preset Time was determined according to the deadline of described the first operation, in practical application, can carry out record to the deadline of multiple the first operations in electronic equipment, and the deadline the longest duration is defined as to described Preset Time.
Below in conjunction with concrete use scenes, above-mentioned steps is described.
Scene explanation: electronic equipment support moves micro-letter (corresponding the first application), and the communication port of electronic equipment acquiescence use based on NET is to support electronic equipment to access more website; And micro-letter is need to obtain electronic equipment current location information time, use the communication port (i.e. the first communication port) based on WAP to carry out auxiliary positioning operation by triggering AGPS, to obtain the current positional information of electronic equipment self.
Realize technique effect: user trigger micro-letter show near micro-letter good friend time, make micro-letter (the first application) obtain the current positional information of electronic equipment by AGPS, and ensure position quick obtaining that micro-letter can be based on the electronic equipment information near micro-letter good friend, avoid occurring obtaining the situation of failure.
Implementation procedure:
Whether periodically detect auxiliary positioning unit has obtained the current positional information of electronic equipment self to electronic equipment, when judging while obtaining the current positional information of electronic equipment self, continue to judge whether the first communication port is the default communication passage of electronic equipment, in the time judging the first communication port and not being default communication passage, continue whether to exist for first and apply the WiFi connection (corresponding second communication passage) of carrying out data communication in detected electrons equipment, if there is no WiFi connects, keep described the first communication port in state of activation Preset Time, in Preset Time, make micro-letter based on the first communication port, obtain the information of micro-letter good friend electronic equipment current location near, and after Preset Time arrives, switches default communication port is state of activation, follow-up electronic equipment will carry out data communication based on default communication passage, if exist WiFi to connect, make micro-letter connect based on WiFi, obtain the information of micro-letter good friend electronic equipment current location near, meanwhile, switches default communication port is state of activation, follow-up electronic equipment will carry out data communication based on default communication passage.
In the present embodiment, when auxiliary positioning unit is obtained after electronic equipment current location information by the first communication port, make first to be applied in Preset Time and in Preset Time, to complete the first operation based on electronic equipment current location based on the first communication port, or make first be applied in based on second communication passage complete based on electronic equipment current location first operation, avoid initiating communication passage switching immediately after auxiliary positioning unit gets positional information, cause the first application there is no the utilizable situation of communication port, thereby can ensure that the first application can present the information based on electronic equipment current location in time, promote user's experience.
Embodiment tri-
The present embodiment is recorded a kind of control method of electronic device, be applied to and there is auxiliary positioning unit and support in the electronic equipment of the first application of operation position-based service, wherein, described auxiliary positioning unit is carried out auxiliary positioning operation based on the first communication port, to obtain the current positional information of electronic equipment self; Described auxiliary positioning unit can be AGPS; The described first current location information based on electronic equipment that is applied as support operation in described electronic equipment carries out the application of associative operation, for example: navigation type application (as electronic chart) and social class application (as micro-letter, QQ).
Communication port in the electronic equipment that the present embodiment is recorded comprises the communication port based on NET and the communication port based on WAP, and in electronic equipment, often acquiescence is used the communication port based on NET to access more website with support electronic equipment; And the communication port of AGPS use based on WAP is that the first communication port carries out auxiliary positioning operation to obtain the positional information of electronic equipment.
As shown in Figure 3, the control method of electronic device that the present embodiment is recorded comprises the following steps:
Step 301, carries out auxiliary positioning when operation in described auxiliary positioning unit based on described the first communication port, detects described auxiliary positioning unit and whether obtained the current positional information of described electronic equipment self, generates the first testing result.
Step 302, judges whether described the first testing result characterizes described auxiliary positioning unit and obtained the current positional information of described electronic equipment self, if so, performs step 303; Otherwise, return to step 301.
Step 303, judges whether described the first communication port is the default communication passage of described electronic equipment; If so, perform step 304; Otherwise, execution step 305.
Step 304, keeping described the first communication port is state of activation.
In electronic equipment by the first communication port by default when communication port, by keeping the state of activation of the first communication port, making auxiliary positioning unit also use the communication port based on WAP is that the first communication port carries out auxiliary positioning operation, therefore obtain after the current positional information of electronic equipment self in auxiliary positioning unit, in electronic equipment first application can also be carried out the operation relevant to the current location information of electronic equipment self, i.e. the first operation, has avoided first to apply the situation that occurs obtaining information failure while carrying out the first operation.
Step 305, keeps described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port.
Wherein, described first is operating as the operation relevant to the current location information of described electronic equipment self, be applied as navigation application as example taking described first, one of described the first operation is exemplified as: based on the current location of electronic equipment, obtain the traffic corresponding with current location, public service information; Described Preset Time was determined according to the deadline of described the first operation, in practical application, can carry out record to the deadline of multiple the first operations in electronic equipment, and the deadline the longest duration is defined as to described Preset Time.
Below in conjunction with concrete use scenes, above-mentioned steps is described.
Scene explanation: electronic equipment support moves micro-letter (corresponding the first application), and the communication port of electronic equipment acquiescence use based on NET is to support electronic equipment to access more website; And micro-letter is need to obtain electronic equipment current location information time, use the communication port (i.e. the first communication port) based on WAP to carry out auxiliary positioning operation by triggering AGPS, to obtain the current positional information of electronic equipment self.
Realize technique effect: user trigger micro-letter show near micro-letter good friend time, make micro-letter (the first application) obtain the current positional information of electronic equipment by AGPS, and ensure position quick obtaining that micro-letter can be based on the electronic equipment information near micro-letter good friend, avoid occurring obtaining the situation of failure.
Implementation procedure:
Whether periodically detect auxiliary positioning unit has obtained the current positional information of electronic equipment self to electronic equipment, when judging while obtaining the current positional information of electronic equipment self, continue to judge whether the first communication port is the default communication passage of electronic equipment, in the time judging the first communication port and not being default communication passage, keep described the first communication port in state of activation Preset Time, in Preset Time, make micro-letter based on the first communication port, obtain the information of micro-letter good friend electronic equipment current location near, after Preset Time arrives, switches default communication port is state of activation, follow-up electronic equipment will carry out data communication based on default communication passage, in the time judging the first communication port and be default communication passage, keep the state of activation of the first communication port, so that micro-letter based on the first communication port, obtains the information of micro-letter good friend electronic equipment current location near.
In the present embodiment, when auxiliary positioning unit is obtained after electronic equipment current location information by the first communication port, always can make the first application complete the first operation based on electronic equipment current location by the first communication port, thereby can ensure that the first application can present the information based on electronic equipment current location in time, has promoted user's experience.
Embodiment tetra-
The present embodiment is recorded a kind of control method of electronic device, be applied to and there is auxiliary positioning unit and support in the electronic equipment of the first application of operation position-based service, wherein, described auxiliary positioning unit is carried out auxiliary positioning operation based on the first communication port, to obtain the current positional information of electronic equipment self; Described auxiliary positioning unit can be AGPS; The described first current location information based on electronic equipment that is applied as support operation in described electronic equipment carries out the application of associative operation, for example: navigation type application (as electronic chart) and social class application (as micro-letter, QQ).
Communication port in the electronic equipment that the present embodiment is recorded comprises the communication port based on NET and the communication port based on WAP, and in electronic equipment, often the communication port of acquiescence use based on NET is that second communication passage is to support electronic equipment to access more website; And the communication port of AGPS use based on WAP is that the first communication port carries out auxiliary positioning operation to obtain the positional information of electronic equipment.
As shown in Figure 4, the control method of electronic device that the present embodiment is recorded comprises the following steps:
Step 401, carries out auxiliary positioning when operation in described auxiliary positioning unit based on described the first communication port, detects described auxiliary positioning unit and whether obtained the current positional information of described electronic equipment self, generates the first testing result.
Step 402, judges whether described the first testing result characterizes described auxiliary positioning unit and obtained the current positional information of described electronic equipment self, if so, performs step 403; Otherwise, return to step 401.
Step 403, judges whether described the first communication port is the default communication passage of described electronic equipment; If so, perform step 404; Otherwise, execution step 405.
Step 404, keeps the state of activation of described the first communication port.
Because also being used the communication port (i.e. the first communication port) based on WAP, auxiliary positioning unit in electronic equipment carries out auxiliary positioning operation, when in electronic equipment by the first communication port by default when communication port, by keeping the state of activation of the first communication port, obtain after the current positional information of electronic equipment self in auxiliary positioning unit, in electronic equipment first application can also be carried out the operation relevant to the current location information of electronic equipment self, i.e. the first operation, has avoided first to apply the situation that occurs obtaining information failure while carrying out the first operation.
Step 405, detects whether there is a second communication passage, if existed, performs step 406 and step 407; Otherwise, execution step 408.
The communication port except described the first communication port and described default communication passage that described second communication passage can utilize for described electronic equipment, for example, described second communication passage can be the communication port based on WiFi, WiFi-Direct, USB, Bluetooth, Zigbee agreement.
Step 406, switching described default communication passage is state of activation.
Step 407, completes the first operation about described the first application based on described second communication passage.
Here, switching described default communication passage is state of activation, and complete the first operation about described the first application based on described second communication passage, in processing, do not distinguish sequencing, owing to existing second communication passage to operate for the first application, to obtain the information corresponding with electronic equipment self current location, therefore, can communicate immediately the switching of passage.
Step 408, keeps described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port.
Wherein, described first is operating as the operation relevant to the current location information of described electronic equipment self, be applied as navigation application as example taking described first, one of described the first operation is exemplified as: based on the current location of electronic equipment, obtain the traffic corresponding with current location, public service information; Described Preset Time was determined according to the deadline of described the first operation, in practical application, can carry out record to the deadline of multiple the first operations in electronic equipment, and the deadline the longest duration is defined as to described Preset Time.
Below in conjunction with concrete use scenes, above-mentioned steps is described.
Scene explanation: electronic equipment support moves micro-letter (corresponding the first application), and the communication port of electronic equipment acquiescence use based on NET is to support electronic equipment to access more website; And micro-letter is need to obtain electronic equipment current location information time, use the communication port (i.e. the first communication port) based on WAP to carry out auxiliary positioning operation by triggering AGPS, to obtain the current positional information of electronic equipment self.
Realize technique effect: user trigger micro-letter show near micro-letter good friend time, make micro-letter (the first application) obtain the current positional information of electronic equipment by AGPS, and ensure position quick obtaining that micro-letter can be based on the electronic equipment information near micro-letter good friend, avoid occurring obtaining the situation of failure.
Implementation procedure:
Whether periodically detect auxiliary positioning unit has obtained the current positional information of electronic equipment self to electronic equipment, when judging while obtaining the current positional information of electronic equipment self, continue to judge whether the first communication port is the default communication passage of electronic equipment, in the time judging the first communication port and be default communication passage, keep the state of activation of the first communication port, so that micro-letter based on the first communication port, obtains the information of micro-letter good friend electronic equipment current location near; In the time judging the first communication port and not being default communication passage, continue whether to exist for first and apply the WiFi connection of carrying out data communication in detected electrons equipment, if there is no WiFi connects, keep described the first communication port in state of activation Preset Time, in Preset Time, make micro-letter based on the first communication port, obtain the information of micro-letter good friend electronic equipment current location near, after Preset Time arrives, switches default communication port is state of activation, and follow-up electronic equipment will carry out data communication based on default communication passage; If exist WiFi to connect, make micro-letter connect based on WiFi, obtain the information of micro-letter good friend electronic equipment current location near, meanwhile, switches default communication port is state of activation, follow-up electronic equipment will carry out data communication based on default communication passage.
In the present embodiment, when auxiliary positioning unit is obtained after electronic equipment current location information by the first communication port, make the first application complete the first operation based on electronic equipment current location based on the first communication port, or make first be applied in based on second communication passage complete based on electronic equipment current location first operation, avoid initiating communication passage switching immediately after auxiliary positioning unit gets positional information, cause the first application there is no the utilizable situation of communication port, thereby can ensure that the first application can present the information based on electronic equipment current location in time, promote user's experience.
It is emphasized that the above-mentioned description about the first communication port, default communication passage and second communication passage, as just example, should not form the restriction to the embodiment of the present invention.
Here it is to be noted: the description in following electronic equipment embodiment, describing with said method is similarly, describes with the beneficial effect of method, does not repeat.For the ins and outs that do not disclose in electronic equipment embodiment of the present invention, please refer to the description of the inventive method embodiment.
Embodiment five
The present embodiment is recorded a kind of electronic equipment, the first application of described electronic equipment support operation position-based service; As shown in Figure 5, described electronic equipment comprises: auxiliary positioning unit 51, detecting unit 52, testing result processing unit 53 and the first control module 54; Wherein,
Described auxiliary positioning unit 51, for carrying out auxiliary positioning operation based on the first communication port, to obtain the current positional information of described electronic equipment;
Described detecting unit 52, for in the time that described auxiliary positioning unit 51 is carried out auxiliary positioning operation based on described the first communication port, detect described auxiliary positioning unit 51 and whether obtained self current positional information of described electronic equipment, generate the first testing result;
Described testing result processing unit 53, while having obtained the current positional information of described electronic equipment self for characterizing described auxiliary positioning unit 51 when described the first testing result, judge whether described the first communication port is the default communication passage of described electronic equipment, and in the time judging the default communication passage that described the first communication port is not described electronic equipment, trigger described the first control module 54;
Described the first control module 54, for keeping described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port;
Wherein, described first be operating as the operation relevant to the current location information of described electronic equipment self.
In practical application, described auxiliary positioning unit 51 can be realized by the AGPS chip in electronic equipment;
Described control module 52, described testing result processing unit 53 and described the first control module 54 can be by the CPU in electronic equipment, digital signal processor (DSP, Digital Signal Processor) or field programmable gate array (FPGA, Field Programmable Gate Array) realization.
Wherein, described the first communication port is the communication port connecting based on WAP (wireless application protocol) WAP; Described default communication passage is the communication port that NET Network Based connects, and is certainly not limited to this.
Embodiment six
The present embodiment is recorded a kind of electronic equipment, the first application of described electronic equipment support operation position-based service; As shown in Figure 6, described electronic equipment comprises: auxiliary positioning unit 61, detecting unit 62, testing result processing unit 63 and the first control module 64; Wherein,
Described auxiliary positioning unit 61, for carrying out auxiliary positioning operation based on the first communication port, to obtain the current positional information of described electronic equipment;
Described detecting unit 62, for in the time that described auxiliary positioning unit 61 is carried out auxiliary positioning operation based on described the first communication port, detect described auxiliary positioning unit 61 and whether obtained self current positional information of described electronic equipment, generate the first testing result;
Described testing result processing unit 63, while having obtained the current positional information of described electronic equipment self for characterizing described auxiliary positioning unit 61 when described the first testing result, judge whether described the first communication port is the default communication passage of described electronic equipment, and in the time judging the default communication passage that described the first communication port is not described electronic equipment, trigger described the first control module 64;
Described the first control module 64, for keeping described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port;
Wherein, described first be operating as the operation relevant to the current location information of described electronic equipment self.
Wherein, described electronic equipment also comprises:
The second control module 65, is state of activation for switching described default communication passage, and completes the first operation about described the first application based on described second communication passage;
Described testing result processing unit 63, also, in the time judging described the first communication port and be not default communication passage, detects whether there is second communication passage, if so, triggers described the second control module 65; Otherwise, trigger described the first control module 64; Wherein, the communication port except described the first communication port and described default communication passage that described second communication passage can utilize for described electronic equipment.
Wherein, described electronic equipment also comprises:
The 3rd control module 66, while being default communication passage for judging described the first communication port when described testing result processing unit 63, keeping described the first communication port is state of activation.
Wherein, described second communication passage comprises: based on the communication port of WiFi, WiFi-Direct, USB, Bluetooth, Zigbee agreement.
In practical application, described auxiliary positioning unit 61 can be realized by the AGPS chip in electronic equipment;
Described control module 62, described testing result processing unit 63 and described the first control module 64, the second control module 65, the 3rd control module 66 can be realized by the CPU in electronic equipment, DSP or FPGA.
In several embodiment provided by the present invention, should be understood that disclosed equipment and method can realize by another way.Apparatus embodiments described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, when actual realization, can there is other dividing mode, as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can ignore, or do not carry out.In addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, also can be distributed in multiple network element; Can select according to the actual needs part or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in various embodiments of the present invention can all be integrated in a processing unit, can be also that each unit is distinguished separately as a unit, also can be integrated in a unit two or more unit; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of programmed instruction, aforesaid program can be stored in a computer read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as movable storage device, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
Or, if the above-mentioned integrated unit of the present invention is realized and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.Based on such understanding, the part that the technical scheme of the embodiment of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprises that some instructions are in order to make a computer equipment (can be personal computer, server or the network equipment etc.) carry out all or part of of method described in the present invention each embodiment.And aforesaid storage medium comprises: various media that can be program code stored such as movable storage device, ROM, RAM, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (10)

1. a control method of electronic device, be applied to and there is auxiliary positioning unit and support in the electronic equipment of the first application of operation position-based service, it is characterized in that, described auxiliary positioning unit support is carried out auxiliary positioning operation based on the first communication port, to obtain the current positional information of described electronic equipment; Described method comprises:
In the time that described auxiliary positioning unit is carried out auxiliary positioning operation based on described the first communication port, detect described auxiliary positioning unit and whether obtained the current positional information of described electronic equipment self, generate the first testing result;
In the time that described the first testing result characterizes described auxiliary positioning unit and obtained the current positional information of described electronic equipment self, judge whether described the first communication port is the default communication passage of described electronic equipment;
In the time judging described the first communication port and not being default communication passage,
Keep described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port;
Wherein, described first be operating as the operation relevant to the current location information of described electronic equipment self.
2. method according to claim 1, is characterized in that, in the time judging described the first communication port and be not default communication passage, described method also comprises:
Detecting and whether having second communication passage, described second communication passage is the communication port except described the first communication port and described default communication passage in described electronic equipment;
If existed, switching described default communication passage is state of activation, and completes the first operation about described the first application based on described second communication passage;
If there is no, continue to carry out described the first communication port of described maintenance after state of activation Preset Time, switch the operation that described default communication passage is state of activation.
3. method according to claim 1 and 2, is characterized in that, described method also comprises: in the time judging described the first communication port and be default communication passage, keeping described the first communication port is state of activation.
4. method according to claim 1 and 2, is characterized in that, described the first communication port is the communication port connecting based on WAP (wireless application protocol) WAP; Described default communication passage is the communication port that NET Network Based connects.
5. method according to claim 2, it is characterized in that, described second communication passage comprises: the communication port that authenticates direct-connected WiFi-Direct, USB (universal serial bus) USB, bluetooth Bluetooth, purple honeybee Zigbee agreement based on wireless compatibility certification WiFi, wireless compatibility.
6. an electronic equipment, the first application of described electronic equipment support operation position-based service; It is characterized in that, described electronic equipment comprises: auxiliary positioning unit, detecting unit, testing result processing unit and the first control module; Wherein,
Described auxiliary positioning unit, for carrying out auxiliary positioning operation based on the first communication port, to obtain the current positional information of described electronic equipment;
Described detecting unit, for carrying out auxiliary positioning when operation in described auxiliary positioning unit based on described the first communication port, detects described auxiliary positioning unit and whether has obtained self current positional information of described electronic equipment, generates the first testing result;
Described testing result processing unit, while having obtained the current positional information of described electronic equipment self for characterizing described auxiliary positioning unit when described the first testing result, judge whether described the first communication port is the default communication passage of described electronic equipment, and in the time judging the default communication passage that described the first communication port is not described electronic equipment, trigger described the first control module;
Described the first control module, for keeping described the first communication port in state of activation Preset Time, and to switch described default communication passage be state of activation, to complete the first operation about described the first application based on described the first communication port;
Wherein, described first be operating as the operation relevant to the current location information of described electronic equipment self.
7. electronic equipment according to claim 6, is characterized in that, described electronic equipment also comprises:
The second control module, is state of activation for switching described default communication passage, and completes the first operation about described the first application based on described second communication passage;
Described testing result processing unit, also, in the time judging described the first communication port and be not default communication passage, detects whether there is second communication passage, if so, triggers described the second control module; Otherwise, trigger described the first control module; Wherein, described second communication passage is the communication port except described the first communication port and described default communication passage in described electronic equipment.
8. according to the electronic equipment described in claim 6 or 7, it is characterized in that, described electronic equipment also comprises:
The 3rd control module, while being default communication passage for judging described the first communication port when described testing result processing unit, keeping described the first communication port is state of activation.
9. according to the electronic equipment described in claim 6 or 7, it is characterized in that, described the first communication port is the communication port connecting based on WAP (wireless application protocol) WAP; Described default communication passage is the communication port that NET Network Based connects.
10. electronic equipment according to claim 7, it is characterized in that, described second communication passage comprises: the communication port that authenticates direct-connected WiFi-Direct, USB (universal serial bus) USB, bluetooth Bluetooth, purple honeybee Zigbee agreement based on wireless compatibility certification WiFi, wireless compatibility.
CN201410097757.7A 2014-03-14 2014-03-14 Electronic equipment and its control method Active CN104090739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410097757.7A CN104090739B (en) 2014-03-14 2014-03-14 Electronic equipment and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410097757.7A CN104090739B (en) 2014-03-14 2014-03-14 Electronic equipment and its control method

Publications (2)

Publication Number Publication Date
CN104090739A true CN104090739A (en) 2014-10-08
CN104090739B CN104090739B (en) 2018-01-23

Family

ID=51638458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410097757.7A Active CN104090739B (en) 2014-03-14 2014-03-14 Electronic equipment and its control method

Country Status (1)

Country Link
CN (1) CN104090739B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016141533A1 (en) * 2015-03-09 2016-09-15 常平 Method for patent information reminder when automatically updating moments information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070026866A1 (en) * 2005-05-27 2007-02-01 Govindarajan Krishnamurthi Mobile node, method and computer program product for handing off from one type of network to another type of network
CN101247645A (en) * 2007-02-13 2008-08-20 英华达股份有限公司 Application program guide intelligent method for switching communication mode of dual-network communication module group
WO2010053423A1 (en) * 2008-11-07 2010-05-14 Telefonaktiebolaget L M Ericsson (Publ) A method of triggering location based events in a user equipment
CN101945454A (en) * 2010-09-15 2011-01-12 中兴通讯股份有限公司 Wireless local area network switching method and system
CN103139858A (en) * 2011-12-01 2013-06-05 中国电信股份有限公司 Method, system and mobile terminal for realizing seamless switching between code division multiple access (CDMA) and wireless fidelity (WiFi)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070026866A1 (en) * 2005-05-27 2007-02-01 Govindarajan Krishnamurthi Mobile node, method and computer program product for handing off from one type of network to another type of network
CN101247645A (en) * 2007-02-13 2008-08-20 英华达股份有限公司 Application program guide intelligent method for switching communication mode of dual-network communication module group
WO2010053423A1 (en) * 2008-11-07 2010-05-14 Telefonaktiebolaget L M Ericsson (Publ) A method of triggering location based events in a user equipment
CN101945454A (en) * 2010-09-15 2011-01-12 中兴通讯股份有限公司 Wireless local area network switching method and system
CN103139858A (en) * 2011-12-01 2013-06-05 中国电信股份有限公司 Method, system and mobile terminal for realizing seamless switching between code division multiple access (CDMA) and wireless fidelity (WiFi)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016141533A1 (en) * 2015-03-09 2016-09-15 常平 Method for patent information reminder when automatically updating moments information

Also Published As

Publication number Publication date
CN104090739B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
US11638117B2 (en) Beacon addressing
CN110741725B (en) Restoring connections in a wireless communication system
CN104239140A (en) Mobile terminal as well as method and device for controlling switching of operation systems of mobile terminal
JP2017517989A (en) Roaming network access method and apparatus
US11595853B2 (en) Redirection mechanism to support network sharing/slicing with CU-DU split
JP2012519450A5 (en)
CN105357737A (en) Method and device for accessing WiFi device to wireless access point
JP2021534622A (en) Methods and Devices for Determining Cell Support Networking Types
CN114503655A (en) MDT for secondary cell group and secondary cell
WO2017197798A1 (en) Wireless network access method, system, and device
JP2021525021A (en) Establishment, reestablishment and resumption of RRC connections in wireless communication systems
EP2779780B1 (en) Called recovery method, device and system
WO2014153912A1 (en) Method and device for displaying and processing application name of multimode card of mobile terminal
CN104090739A (en) Electronic equipment and control method thereof
CN105142217A (en) MAC address combined positioning method based on push and wireless fidelity (WiFi) hot spot
US10575365B2 (en) PDN connection release method and apparatus, and user equipment
CN108156639A (en) Speech business returns to the method and device of long-term evolving network after handover
CN105376777A (en) Processing method of network communication function abnormity and mobile terminal
US8971944B2 (en) Method and devices of communicating physical cell identifier information to mobile stations
CN105204836A (en) Information processing method and electronic devices
CN104967723A (en) Terminal
CN104836655A (en) Data synchronization method
CN113056955A (en) Downlink control information in USS
KR20200025924A (en) Producing apparatus for radio map, and control method thereof
US11175373B2 (en) Apparatuses, methods and computer-readable code relating to radiomap data

Legal Events

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