CN115209514A - Method for closing cellular communication function and related electronic equipment - Google Patents

Method for closing cellular communication function and related electronic equipment Download PDF

Info

Publication number
CN115209514A
CN115209514A CN202211126359.4A CN202211126359A CN115209514A CN 115209514 A CN115209514 A CN 115209514A CN 202211126359 A CN202211126359 A CN 202211126359A CN 115209514 A CN115209514 A CN 115209514A
Authority
CN
China
Prior art keywords
electronic device
communication function
setting
cellular communication
mode
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
CN202211126359.4A
Other languages
Chinese (zh)
Other versions
CN115209514B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211126359.4A priority Critical patent/CN115209514B/en
Publication of CN115209514A publication Critical patent/CN115209514A/en
Application granted granted Critical
Publication of CN115209514B publication Critical patent/CN115209514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • 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)
  • Telephone Function (AREA)

Abstract

The application provides a method for closing a cellular communication function and a related electronic device, wherein the method comprises the following steps: responding to the first operation, displaying setting controls of M running modes of the first electronic equipment on a first setting interface, wherein the setting controls are used for closing the cellular communication function of the first electronic equipment; receiving second operation of a setting control acting on N operation modes in the M operation modes, and responding to the second operation to generate a first closing condition of the cellular communication function; acquiring a current operation mode of first electronic equipment; the current operation mode of the first electronic equipment is one or more of M operation modes; the cellular communication function is switched off in case the current operation mode of the first electronic device satisfies a first switching off condition. By implementing the embodiment of the application, the power consumption of the wearable device can be reduced by closing the cellular communication function, so that the cruising ability of the wearable device is improved.

Description

Method for closing cellular communication function and related electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method for turning off a cellular communication function and a related electronic device.
Background
With the development of terminal technology, wearable devices have been attracting attention, and the wearable device refers to a portable device that can be worn directly on the body or integrated into the clothing or accessories of a user. Because the portability of wearable equipment is higher, gradually by people extensive popularization and application. Wherein, wearable equipment can integrate and show multiple different functions such as User Interface (UI), motion monitoring, blood pressure detection, installation Application (APP), bring convenience for people's life. However, in order to ensure the portability of the wearable device, the battery volume configured in the wearable device is usually small, and the battery capacity is also correspondingly small, so that the endurance of the wearable device is low, and the user needs to charge the wearable device frequently for continuous use, which is cumbersome.
Therefore, how to reduce the power consumption of the wearable device to improve the cruising ability of the wearable device becomes a technical problem which needs to be solved at present.
Disclosure of Invention
The embodiment of the application provides a method for closing a cellular communication function and related electronic equipment, so that the power consumption of wearable equipment is reduced, and the cruising ability of the wearable equipment is improved.
In a first aspect, the embodiments of the present application provide a method for turning off a cellular communication function, where the method may be performed by a first electronic device, or may be performed by a module in the first electronic device, such as a chip or a processor. The method can comprise the following steps: responding to a first operation, displaying setting controls of M running modes of first electronic equipment on a first setting interface, wherein the setting controls are used for closing the cellular communication function of the first electronic equipment; m is an integer greater than 1; receiving a second operation of a setting control acting on N operation modes in the M operation modes, and responding to the second operation to generate a first closing condition of the cellular communication function; n is more than or equal to 1 and less than or equal to M, and N is an integer; acquiring a current operation mode of the first electronic equipment; the current operation mode of the first electronic device is one or more of the M operation modes; and closing the cellular communication function when the current operation mode of the first electronic equipment meets the first closing condition.
By the method provided by the first aspect, the user may set a scenario in which the first electronic device is required to turn off the cellular communication function, and thus, it may be considered that the cellular communication function may be turned off in a variety of different scenarios during the use of the electronic device by the user. On one hand, the requirement of daily cellular communication use of the user can be ensured; on the other hand, the power consumption of the electronic equipment in the using process can be reduced, so that the cruising ability of the electronic equipment is improved, particularly, when the electronic equipment is wearable equipment with small size and weight, the cruising ability of the wearable equipment is not required to be improved by increasing the size or the weight of a battery, the charging times of a user are reduced, and convenience is provided for the user.
In a possible implementation manner, the obtaining the current operation mode of the first electronic device includes: and acquiring a connection mode with the second electronic equipment, wherein the connection mode is a connection mode of the near field communication function. In the embodiment of the application, besides considering the operation mode of the electronic equipment, the situation that whether the electronic equipment is connected with other equipment or not can be considered, and then the setting can be respectively carried out from two scenes of connection and disconnection with other equipment, so that multiple different setting scenes are enriched, and the setting is more intelligent and humanized.
In one possible implementation manner, the second electronic device is a terminal device having the cellular communication function, and the cellular communication function of the second electronic device is the same as or different from the account of the cellular communication function. In this embodiment of the application, the first electronic device and the second electronic device may both have a cellular communication function under the same account, that is, the first electronic device and the second electronic device may both communicate through the cellular communication function of the account, and therefore, the first electronic device may consider the operation mode of the second electronic device when closing the cellular communication function of the first electronic device, so that the first electronic device can better conform to the usage habit of the user, and the setting of closing the cellular communication function is more humanized and intelligent. Under the condition that the accounts of the cellular communication functions of the first electronic device and the second electronic device are different, the first electronic device and the second electronic device can independently process the communication services of the respective accounts. Because the user can use the first electronic equipment and the second electronic equipment simultaneously, the first electronic equipment can consider the operation mode of the second electronic equipment when closing the own cellular communication function, thereby being more accordant with the use habit of the user and setting the cellular communication function to be more humanized and intelligent.
In a possible implementation manner, the connection mode is a connected mode, and the method further includes: and displaying setting controls of P running modes of the second electronic equipment on the first setting interface, wherein P is an integer larger than 1. In the embodiment of the application, under the condition that the first electronic device determines that the first electronic device is connected with the second electronic device, the setting control related to the operation mode of the second electronic device can be displayed in the user interface, so that the setting aiming at the scene that the user uses the second electronic device can be performed, the use requirement of the user is better met, and the setting of closing the cellular communication function is more humanized and intelligent.
In a possible implementation manner, the method further includes: receiving a third operation of a setting control acting on Q operation modes in the P operation modes, and generating a second closing condition of the cellular communication function in response to the third operation; p is more than or equal to 1 and less than or equal to Q, and P is an integer; acquiring a current operation mode of the second electronic equipment; the current operation mode of the second electronic device is one or more of the P operation modes; and closing the cellular communication function when the current operation mode of the second electronic equipment meets the second closing condition. In this embodiment, the first electronic device may specifically set the operation mode of the second electronic device, so as to obtain a shutdown condition for shutting down the cellular communication function of the first electronic device. Therefore, the use scene of the user on the first electronic equipment can be considered, the use scene of the user on the second electronic equipment can also be considered, the setting intelligence and humanization can be improved, the power consumption of the first electronic equipment can be reduced, and the duration of the first electronic equipment is prolonged.
In a possible implementation manner, the method further includes: and sending the first closing condition and the second closing condition to the second electronic equipment. In the embodiment of the application, the first electronic device can synchronize the closing condition set by the user to the second electronic device through the near field communication function, so that the user can check the closing condition from the second electronic device, the user can check and set the closing condition conveniently, and the setting intelligence and humanization are improved.
In a possible implementation manner, the connection mode is a disconnection mode, and the method further includes: and displaying setting controls of P running modes of the second electronic equipment on the first setting interface, wherein the setting controls of the P running modes are in an unselected state, and P is an integer greater than 1. In the embodiment of the application, the operation mode of another device may be set only when the first electronic device is connected to the second electronic device, and the consumed power consumption may be reduced by disconnecting the first electronic device from the second electronic device, so as to improve the endurance time of the first electronic device.
In a possible implementation manner, the method further includes: and receiving operation mode information from the second electronic equipment, wherein the operation mode information is used for indicating the second electronic equipment to be switched to a first preset operation mode. In this embodiment of the application, the first electronic device may obtain the second electronic device actively from the second electronic device, and in a specific case, the second electronic device may send the information that the second electronic device is to be powered off actively, for example, when the second electronic device is to be powered off, the information that the second electronic device is to be powered off may be sent to the first electronic device, so that the first electronic device determines whether to turn off the cellular communication function based on the information, and the method and the device can be used in a scenario in which power is saved for the first electronic device in a specific case.
In a possible implementation manner, the obtaining of the current operation mode of the first electronic device includes at least one of: acquiring the running mode of a battery of the first electronic equipment; acquiring the operation mode of the scene of the first electronic equipment; and acquiring the operation mode of the sensor of the first electronic equipment. In the embodiment of the present application, the operation modes of the first electronic device can be classified into three types: the operating mode may be battery-related, e.g. power saving mode, scene-related, e.g. do not disturb mode, and sensor-related, e.g. user activity may be detected. Therefore, the function of cellular communication can be closed according to the acquired multiple different operation modes, the use requirements of users are met, and the electric quantity consumption of the first electronic equipment is also saved.
In a possible implementation manner, the method further includes: responding to a fourth operation, and displaying prompt information for prompting to set the first closing condition and a setting control corresponding to the prompt information on a second setting interface; and receiving a fifth operation acting on a setting control corresponding to the prompt message, and responding to the fifth operation to display a third setting interface, wherein the third setting interface comprises the setting control for triggering the first setting interface, and the first operation acts on the setting control for triggering the first setting interface. In the embodiment of the application, before the cellular communication function is set to be closed or not in a specific scene, prompt information for prompting a user can be output, and the user is further guided to carry out setting operation step by step, so that the setting process is more humanized and intelligent.
In one possible implementation, the fourth operation includes at least one of: receiving a display operation for displaying the second setting interface; detecting a start operation of a cellular communication function of the first electronic device; detecting an opening operation of a cellular communication function of the first electronic device; and detecting that the current operation mode of the first electronic device and/or the current operation mode of the second electronic device is a second preset operation mode. In the embodiment of the application, the setting of the cellular communication function triggered by the user can be actively triggered or passively triggered, and the user can trigger the setting in different scenes by various user setting triggering modes, so that convenience is provided for the user to set and close the function.
In a second aspect, an embodiment of the present application provides a first electronic device, where the first electronic device includes: one or more processors and memory; the memory is coupled to the one or more processors, the memory for storing computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform: responding to a first operation, displaying setting controls of M running modes of first electronic equipment on a first setting interface, wherein the setting controls are used for closing the cellular communication function of the first electronic equipment; m is an integer greater than 1; receiving a second operation of a setting control acting on N operation modes in the M operation modes, and responding to the second operation to generate a first closing condition of the cellular communication function; n is more than or equal to 1 and less than or equal to M, and N is an integer; acquiring a current operation mode of the first electronic equipment; the current operation mode of the first electronic device is one or more of the M operation modes; and closing the cellular communication function when the current operation mode of the first electronic equipment meets the first closing condition.
In a possible implementation manner, the one or more processors invoke the computer instruction to enable the first electronic device to execute the current operation mode of the first electronic device, and specifically execute: and acquiring a connection mode with the second electronic equipment, wherein the connection mode is a connection mode of the near field communication function.
In one possible implementation manner, the second electronic device is a terminal device having the cellular communication function, and the cellular communication function of the second electronic device is the same as or different from the account of the cellular communication function.
In a possible implementation manner, the connection mode is a connected mode, and the one or more processors are further configured to invoke the computer instructions to cause the first electronic device to perform: and displaying setting controls of P running modes of the second electronic equipment on the first setting interface, wherein P is an integer larger than 1.
In one possible implementation, the one or more processors are further configured to invoke the computer instructions to cause the first electronic device to perform: receiving a third operation of a setting control acting on Q operation modes in the P operation modes, and generating a second closing condition of the cellular communication function in response to the third operation; p is more than or equal to 1 and less than or equal to Q, and P is an integer; acquiring a current operation mode of the second electronic equipment; the current operation mode of the second electronic device is one or more of the P operation modes; and closing the cellular communication function when the current operation mode of the second electronic equipment meets the second closing condition.
In one possible implementation, the one or more processors are further configured to invoke the computer instructions to cause the first electronic device to perform: and sending the first closing condition and the second closing condition to the second electronic equipment.
In a possible implementation manner, the connection mode is a disconnection mode, and the one or more processors are further configured to invoke the computer instructions to cause the first electronic device to perform: and displaying setting controls of P running modes of the second electronic equipment on the first setting interface, wherein the setting controls of the P running modes are in an unselected state, and P is an integer greater than 1.
In one possible implementation, the one or more processors are further configured to invoke the computer instructions to cause the first electronic device to perform: and receiving operation mode information from the second electronic device, wherein the operation mode information is used for indicating that the second electronic device is to be switched to a first preset operation mode.
In a possible implementation manner, the obtaining of the current operation mode of the first electronic device includes at least one of: acquiring the running mode of a battery of the first electronic equipment; acquiring an operation mode of the scene of the first electronic equipment; and acquiring the operation mode of the sensor of the first electronic equipment.
In one possible implementation, the one or more processors are further configured to invoke the computer instructions to cause the first electronic device to perform: responding to a fourth operation, and displaying prompt information for prompting to set the first closing condition and a setting control corresponding to the prompt information on a second setting interface; and receiving a fifth operation acting on a setting control corresponding to the prompt message, and responding to the fifth operation to display a third setting interface, wherein the third setting interface comprises a setting control for triggering the first setting interface, and the first operation acts on the setting control for triggering the first setting interface.
In one possible implementation, the fourth operation includes at least one of: receiving a display operation for displaying the second setting interface; detecting an operation of starting a cellular communication function of the first electronic device; detecting an opening operation of a cellular communication function of the first electronic device; and detecting that the current operation mode of the first electronic device and/or the current operation mode of the second electronic device is a second preset operation mode.
In a third aspect, an embodiment of the present application provides a first electronic device, where the first electronic device includes a processor, and the processor is configured to support the first electronic device to implement a corresponding function in the method for turning off a cellular communication function provided in the first aspect. The electronic device may also include a memory, coupled to the processor, that stores program instructions and data necessary for the terminal device. The electronic device may also include a communication interface for the electronic device to communicate with other devices or a communication network.
In a fourth aspect, an embodiment of the present application provides a computer storage medium for storing computer software instructions for an electronic device provided in the second aspect, which includes a program for executing the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product containing instructions that, when run on an electronic device, cause the electronic device to perform the method as described above in the first aspect or any one of the possible implementations of the first aspect.
In a sixth aspect, the present application provides a chip system, where the chip system includes a processor, configured to support a first electronic device to implement the functions related to the first aspect, for example, in response to a first operation, a setting control of M operation modes of the first electronic device is displayed on a first setting interface. In one possible design, the chip system further includes a memory for storing program instructions and data necessary for the data transmission device. The chip system may be constituted by a chip, or may include a chip and other discrete devices.
Drawings
Fig. 1 is a system architecture diagram of a cellular communication function shutdown system according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Fig. 3 is a block diagram of a software structure of a first electronic device according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating a method for turning off a cellular communication function according to an embodiment of the present application.
Fig. 5 is a schematic view of a user interface of a first electronic device displaying a second setting interface according to an embodiment of the present application.
Fig. 6 is a schematic user interface diagram of a first electronic device displaying a third setting interface according to an embodiment of the present application.
Fig. 7 is a schematic user interface diagram of a first electronic device displaying a first setting interface according to an embodiment of the present application.
Fig. 8 is a schematic view of another user interface of a first electronic device displaying a first setting interface according to an embodiment of the present application.
Fig. 9 is a schematic view of another user interface of a first electronic device displaying a first setting interface according to an embodiment of the present application.
Fig. 10 is a schematic diagram of a user interface for synchronizing a first close condition and a second close condition according to an embodiment of the present application.
Fig. 11 is a timing diagram of a setting process according to an embodiment of the present application.
Fig. 12 is another timing diagram of a setup process according to an embodiment of the present application.
Fig. 13 is a schematic user interface diagram of a first electronic device for turning on a cellular communication function according to an embodiment of the present application.
Fig. 14 is a schematic diagram of a user interface of a first electronic device for turning off a cellular communication function according to an embodiment of the present application.
Fig. 15 is a schematic structural diagram of a shutdown device for a cellular communication function according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the drawings.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
As used in this specification, the terms "component," "module," "system," and the like are intended to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and the computing device can be a component. One or more components can reside within a process and/or thread of execution and a component can be localized on one computer and/or distributed between 2 or more computers. In addition, these components can execute from various computer readable media having various data structures stored thereon. The components may communicate by way of local and/or remote processes such as in accordance with a signal having one or more data packets (e.g., data from two components interacting with another component in a local system, distributed system, and/or across a network such as the internet with other systems by way of the signal).
First, before further detailed description of the embodiments of the present application, terms and terminology referred to in the embodiments of the present application are explained to facilitate understanding for those skilled in the art. The terms and expressions referred to in the embodiments of the present application are used for the following explanations:
1. user interface (user interface, UI)
A user interface (also referred to as an interface) is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. The user interface of the application program is a source code written by a specific computer language such as java, extensible markup language (XML), and the like, and the interface source code is analyzed and rendered on the terminal device, and finally presented as content that can be identified by the user, such as controls such as pictures, characters, buttons, and the like. Controls, also called widgets, are basic elements of user interfaces, and typically have a toolbar (toolbar), menu bar (menu bar), text box (text box), button (button), scroll bar (scrollbar), picture, and text. The properties and contents of the controls in the interface are defined by tags or nodes, such as XML defining the controls contained by the interface by nodes < Textview >, < ImgView >, < VideoView >, and the like. A node corresponds to a control or attribute in the interface, and the node is rendered as user-viewable content after parsing and rendering. In addition, many applications, such as hybrid applications (hybrid applications), typically include web pages in their interfaces. A web page, also called a page, can be understood as a special control embedded in an application program interface, where the web page is a source code written by a specific computer language, such as hypertext markup language (HTML), cascading Style Sheets (CSS), java script (JavaScript, JS), etc., and the web page source code can be loaded and displayed as content recognizable to a user by a browser or a web page display component similar to a browser function. The specific content contained in the web page is also defined by tags or nodes in the source code of the web page, such as HTML, which defines elements and attributes of the web page by < p >, < img >, < video >, < canvas >.
A commonly used presentation form of the user interface is a Graphical User Interface (GUI), which refers to a user interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
2. Wearable device (Weirable device)
Wearable devices refer to a portable electronic device that is worn directly on the body, or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The wearable device may include watches supported by wrists (including products such as watches and wristbands), shoes supported by feet (including shoes, socks or other products worn on legs in the future), and electronic devices in various non-mainstream product forms such as smart clothes, bags, crutches and accessories.
In this application, the wearable device may be a first electronic device in the embodiments of the present application, which is described and explained by taking a wrist-supported watch-type wearable device as an example, and the embodiments of the present application do not limit the form of the wearable device.
3. Cellular communication function
The cellular communication function is that a cellular wireless networking mode is adopted, and a terminal (such as a first electronic device and a second electronic device) and a network device are connected through a wireless channel, so that users can communicate with each other through the terminal (such as the first electronic device and the second electronic device) during activities. The terminal may implement a cellular communication function through a function of an embedded subscriber identity module (eSIM), that is, the electronic device may enjoy various services provided by a network operator through the eSIM. The eSIM function refers to that a Subscriber Identity Module (SIM) card of an entity is directly embedded into a device chip, rather than being added to the device as a separate removable component, and a user does not need to insert a physical SIM card, but has the function of the entity SIM card. One SIM card corresponds to one account number one by one, and the account number can be the number of the SIM card, namely the account number can identify the terminal.
In this application, the cellular communication function may refer to an eSIM function that the first electronic device and the second electronic device have, and accounts corresponding to the eSIM functions of the first electronic device and the second electronic device may be the same account or different accounts. Under the condition that the accounts corresponding to the eSIM functions of the first electronic device and the second electronic device are the same account, the first electronic device and the second electronic device are bound together through the same account, that is, two or more electronic devices are bound together through the eSIM function of the same account through a 'one-number-double-terminal service'. When the accounts corresponding to the eSIM functions of the first electronic device and the second electronic device are different accounts, the first electronic device and the second electronic device may receive services of respective independent accounts through the eSIM functions, respectively.
4. Near field communication function
The near field communication function is a function that enables communication between electronic devices by establishing a communication connection in a near field. The near field communication may include Wi-Fi (wireless fidelity), bluetooth (Bluetooth), near Field Communication (NFC), and other communication technologies.
In the application, the near field communication function is explained and illustrated by taking bluetooth as an example, and the first electronic device and the second electronic device can establish communication connection through bluetooth.
The embodiment of the application provides a method and a related device for closing a cellular communication function, so that in the process of using electronic equipment, a scene for closing the cellular communication function can be customized according to an actual use scene, the power consumption of the electronic equipment can be reduced while the daily communication function is ensured, the cruising ability of the electronic equipment is improved, the charging times of a user are reduced, and convenience is provided for the user.
Referring to fig. 1, fig. 1 is a schematic diagram of a system for shutting down a cellular communication function according to an embodiment of the present disclosure. The cellular communication function shutdown system 10 may include a first electronic device 100 and a second electronic device 200.
The first electronic device 100 may be implemented as any one of the following electronic devices: the portable game machine, portable media playback device, personal computer, intelligent vehicle mounted terminal, wearable devices such as intelligent wrist-watch, intelligent bracelet, shoes, intelligent glasses, can also be smart TV, intelligent stereo set, AR glasses etc.. The second electronic device 200 may be implemented as any type of electronic device capable of implementing a cellular communication function, for example, a terminal device that may be a mobile phone, a smart phone, or the like, a server that may be, for example, an independent server (such as a central server), a server cluster or a distributed system composed of multiple physical servers, a server deployed in a cloud environment, an edge computing device deployed in an edge environment, or the like. It should be understood that fig. 1 illustrates and explains the first electronic device 100 as a smart watch and the second electronic device 200 as a mobile phone, and the forms of the first electronic device 100 and the second electronic device 200 in the embodiments of the present application are not limited.
The first electronic device 100 may establish a communication connection with the second electronic device 200 through the near field communication function, and the first electronic device 100 may transmit information to the second electronic device 200 through the communication connection established with the second electronic device 200 through the near field communication function, such as a shutdown condition (e.g., a first shutdown condition and a second shutdown condition) generated by the first electronic device 100 to shut down the cellular communication function of the first electronic device 100; the second electronic device 200 may also send information, such as operation mode information, to the first electronic device 100 through the communication connection, where the operation mode information may be used to instruct the second electronic device 200 to switch to a preset operation mode.
The first electronic device 100 and the second electronic device 200 may each have a cellular communication function, and the cellular communication functions of the first electronic device 100 and the second electronic device 200 may be the same account. Specifically, the first electronic device 100 may call the called party device through the account, that is, initiate a connection request for establishing a communication connection with the called party device, and the account may be associated with the called party device, for example, another electronic device in fig. 1 that establishes a communication connection with the first electronic device 100. Similarly, the second electronic device 200 may also call the called party device through the account, and the account may be associated with the called party device, for example, another electronic device that establishes a communication connection with the second electronic device 200 in fig. 1.
Wherein, the cellular communication functions of the first electronic device 100 and the second electronic device 200 may be different accounts. Specifically, the first electronic device 100 may call the called party device through an account (e.g., a first account) of a cellular communication function of the first electronic device 100, and the account (the first account) may be associated with the called party device of the first electronic device 100. Similarly, the second electronic device 200 may also call the called party device through an account (e.g., a second account) of the cellular communication function of the second electronic device 200, and the account (the second account) may be associated with the called party device of the second electronic device 200. That is, the first electronic device 100 and the second electronic device 200 may call the called party device through different accounts, respectively.
The other electronic device may call the first electronic device 100 and the second electronic device 200 through the account as a caller, i.e., the other electronic device initiates a connection request to establish a communication connection with the first electronic device 100 and/or the second electronic device 200. In the case where the first electronic device 100 and the second electronic device 200 are turning on the cellular communication function, a page initiated by another electronic device may be received, that is, a response may be made to a received connection request for establishing a communication connection, for example, the first electronic device 100 may be a smart watch, and may vibrate or ring according to a current contextual model of the smart watch, and display a user interface for incoming call notification on the smart watch. For another example, the second electronic device 200 may be a mobile phone, and may vibrate or ring according to a current contextual model of the mobile phone, and may also display a user interface of the incoming call reminder on the mobile phone.
If the first electronic device 100 and the second electronic device 200 are two electronic devices of the same account, when receiving a connection request for the account, the first electronic device 100 and the second electronic device 200 may respond at the same time, or one electronic device may be selected to respond, or a response condition may be set, and when the condition is satisfied, the first electronic device 100 and/or the second electronic device 200 respond, which is not limited in this application. If the first electronic device 100 and the second electronic device 200 are two electronic devices with different accounts, taking the account of the first electronic device 100 as a first account and the account of the second electronic device 200 as a second account as an example, the first electronic device 100 only responds when receiving a connection request for the first account, and similarly, the second electronic device 200 only responds when receiving a connection request for the second account.
Since the battery capacity of the first electronic device 100 is limited, in order to reduce the power consumption of the first electronic device 100 and increase the endurance time of the first electronic device, the cellular communication function may be turned off in the set operation mode. It is to be appreciated that since the short-range communication function involves only short-range communication, and the cellular communication function involves long-range communication, the cellular communication function consumes a higher amount of power than the short-range communication function, so that power consumption of the first electronic device 100 can be saved after the cellular communication function is turned off. After the first electronic device 100 turns off the cellular communication function, it may not receive paging initiated by other devices, i.e., not receive connection requests, thereby reducing power consumption.
Wherein the first electronic device 100 may set the cellular communication function of the first electronic device 100 to be turned off in a partial or full operation mode, the first electronic device 100 may also consider the operation mode of the second electronic device 200, thereby generating a turn-off condition, such as a first turn-off condition for the operation mode of the first electronic device 100 and a second turn-off condition for the operation mode of the second electronic device 200. Therefore, the power consumption of the first electronic device 100 can be reduced while the use requirement of the user is met, the cruising ability of the first electronic device 100 is improved, and convenience is provided for the user.
The first electronic device according to the present application may be an electronic device, or may be a module in the first electronic device, such as a chip or a processor.
The structure of the first electronic device 100 is described below. Referring to fig. 2, fig. 2 is a schematic structural diagram of a first electronic device 100 according to an embodiment of the present disclosure.
The first electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the first electronic device 100. In other embodiments of the present application, the first electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
Wherein the controller may be a neural center and a command center of the first electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bidirectional synchronous serial bus including a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, the processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the first electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 through an I2S bus, enabling communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through the I2S interface, so as to implement a function of receiving a call through a bluetooth headset.
It should be understood that the interfacing relationship between the modules illustrated in the embodiment of the present application is only an illustration, and does not constitute a limitation on the structure of the first electronic device 100. In other embodiments of the present application, the first electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger.
The wireless communication module 160 may provide a solution for wireless communication applied to the first electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wi-Fi networks), bluetooth (BT), BLE broadcasting, global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The first electronic device 100 implements the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the first electronic device 100 may include 1 or N display screens 194, N being an integer greater than 1.
The first electronic device 100 can implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The first electronic device 100 can listen to music through the speaker 170A or listen to a hands-free call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into a sound signal. When the first electronic device 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking near the microphone 170C through the mouth. The first electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the first electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the first electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and perform directional recording functions.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
The gyro sensor 180B may be used to determine the motion attitude of the first electronic device 100. In some embodiments, the angular velocity of the first electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by the gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the first electronic device 100 calculates altitude, aiding positioning and navigation from the barometric pressure value measured by the barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The first electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D.
The acceleration sensor 180E may detect the magnitude of acceleration of the first electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the first electronic device 100 is stationary. The method can also be used for recognizing the posture of the terminal equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The first electronic device 100 may measure the distance by infrared or laser. In some embodiments, shooting a scene, the first electronic device 100 may utilize the distance sensor 180F to range to achieve fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The first electronic device 100 emits infrared light to the outside through the light emitting diode. The first electronic device 100 uses a photodiode to detect infrared reflected light from a nearby object so as to automatically turn off the screen for power saving. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense ambient light brightness. The first electronic device 100 may adaptively adjust the brightness of the display screen 194 according to the perceived ambient light level. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the first electronic device 100 is in a pocket, so as to prevent accidental touch.
The temperature sensor 180J is used to detect temperature. In some embodiments, the first electronic device 100 executes a temperature processing strategy using the temperature detected by the temperature sensor 180J.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the first electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The first electronic device 100 may receive a key input, and generate a key signal input related to user setting and function control of the first electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the first electronic device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The first electronic device 100 may support 1 or N SIM card interfaces, N being an integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the cards can be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The first electronic device 100 interacts with the network through the SIM card to implement functions such as a call and data communication. In some embodiments, the first electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card may be embedded in the first electronic device 100 and may not be separated from the first electronic device 100.
The software system of the first electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, a software structure of the first electronic device 100 is exemplarily described by taking an Android system with a layered architecture as an example. Fig. 3 is a block diagram of a software structure of the first electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android Runtime (Android Runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 3, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. Such data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide the communication function of the first electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android Runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In this embodiment of the application, the hardware structure and the software system of the second electronic device may be partially or completely the same as the software system of the hardware structure of the first electronic device, for example, the second electronic device is a mobile phone, the second electronic device is a smart watch, the two electronic devices have different processor types, and the display screen has different sizes and shapes. The hardware structure and the software system of the second electronic device can refer to the hardware structure and the software system of the first electronic device shown in fig. 2 and fig. 3, and are not described again here.
In order to reduce power consumption of a first electronic device and improve cruising ability of the first electronic device, an embodiment of the present application provides a method for closing a cellular communication function, in which the first electronic device may receive a setting operation of a user and set to close the cellular communication function of the first electronic device in a partial or full operation mode. Further, after the setting is completed, the first electronic device may not receive a page of another device, that is, an initiated connection request for establishing a communication connection, if the first electronic device is in a set partial or full operation mode. Therefore, the user communication can be guaranteed, the electricity consumption of the first electronic equipment can be reduced, the cruising ability of the first electronic equipment is provided, and convenience is brought to the user to use the first electronic equipment.
Based on the architecture of the cellular communication function shutdown system provided in fig. 1, the technical problem proposed in the present application is specifically analyzed and solved in combination with the cellular communication function shutdown method provided in the present application. Referring to fig. 4, fig. 4 is a flowchart illustrating a method for turning off a cellular communication function according to an embodiment of the present application. The method may comprise the following steps 401-404.
Step 401, the first electronic device responds to the first operation, and displays setting controls of M operation modes of the first electronic device on the first setting interface.
In this embodiment of the present application, the first operation may be an operation for displaying the first setting interface, where the operation may be a touch operation for a touch screen of the first electronic device, for example, a click operation or a slide operation, or a trigger operation for a physical case of the first electronic device, for example, a push operation for a physical key, or a scroll operation for a scroll wheel, and this application is not limited thereto. The first setting interface may be a setting interface for setting a cellular communication function to be turned off in a part of or all operation modes of the first electronic device, and the setting interface may include one or more setting controls, for example, one setting control may be displayed for one operation mode, or one setting control may correspond to multiple operation modes. The settings control may be used to turn off the cellular communication function for the run mode setting.
The first setting interface may include M operation modes of the first electronic device, where M is an integer greater than 1, and the M operation modes may include an operation mode of a battery of the first electronic device, an operation mode of a scene, an operation mode of a sensor of the first electronic device, and other operation modes, which is not limited in this application.
Specifically, the operation mode of the battery may be a power saving mode of the first electronic device, and the power saving mode refers to that the first electronic device turns off part of functions to save power. Optionally, the operation mode of the battery may also be, for example, a high power consumption mode, where the first electronic device may turn on all functions for the convenience of the user.
The operation mode of the so-called scenario may for example be an operation mode set by the user for the first electronic device, e.g. may be a do-not-disturb mode, i.e. the user does not wish to receive a disturbance (e.g. a notification message) of the first electronic device. The operation mode of the scenario may also be, for example, a mode of receiving a notification of a part of the applications, i.e. a mode of white list notification, i.e. a notification of an application in the white list may be output.
The operation mode of the sensor may be a mode in which the first electronic device detects a parameter detected by a built-in sensor to operate, for example, the first electronic device detects that a user is in a sleep state through one or more sensors, the sleep state may be further subdivided into a deep sleep state or a light sleep state, and the operation mode of the first electronic device may be a sleep mode. For another example, if the first electronic device detects that the user is moving through one or more sensors, the operation mode of the first electronic device may be a motion mode. For another example, if the first electronic device detects that the user does not wear the first electronic device through one or more sensors, the operation mode of the first electronic device may be an unworn mode.
The operation mode of the first electronic device may further include a connection mode with the second electronic device, and the connection mode may be a connection mode of the short-range communication function, and may include a connected mode and a disconnected mode, for example. For example, the first electronic device may be a smart watch, and the second electronic device may be a mobile phone, and then the first electronic device and the second electronic device may be connected or disconnected through a short-range communication function (e.g., bluetooth).
The cellular communication function may be configured to enable the first electronic device to receive a page of the other electronic device for a certain account, that is, a connection request sent by the other device to establish a communication connection, and establish a call request with the other electronic device. The cellular communication function may also be used for the first electronic device to receive a short message for a certain account number. The first electronic device may also provide a cellular mobile data function based on the cellular communication function, for example, may browse a web page, run an installed application program, and the like, thereby providing convenience for the daily life of the user. After the first electronic device displays the first setting interface, a setting operation acting on the setting control may be received, thereby generating a closing condition for closing the cellular communication function.
In a possible implementation manner, the first electronic device may obtain a connection mode between the first electronic device and the second electronic device in the current operation mode, and when the connection mode is the connected mode, may display setting controls of P operation modes of the second electronic device in the first setting interface, where P is an integer greater than 1. It is understood that, in a case where the first electronic device is not communicatively connected to the second electronic device (i.e., the connection mode is a disconnection mode), the settings related to the second electronic device may not be displayed in the first setting interface, i.e., the setting controls of the P operation modes may not be displayed in the first setting interface. Optionally, the setting control of the P operation modes may be one operation mode corresponding to one setting control, or may be multiple operation modes corresponding to one setting control, which is not limited in this application.
In another possible implementation manner, the first electronic device may obtain a connection mode between the first electronic device and the second electronic device in the current operation mode, and in a case that the connection mode is a disconnection mode, the first setting interface may also display setting controls of P operation modes of the second electronic device, but the setting controls of the P operation modes are in an unselected state. I.e. disconnected, the option for the second electronic device is a non-settable state. Optionally, when the connection mode is the disconnection mode, the setting control of the P operation modes of the second electronic device displayed on the first setting interface may be a preset display mode, for example, a grey-bar display, which may be used to prompt the user that this part is set to an unselected state, that is, the user acts on the setting control of the P operation modes, and the first electronic device may not receive the setting control, or may not make any response after receiving the setting control.
In a possible implementation manner, the first electronic device may respond to the fourth operation before displaying the first setting interface, display, on the second setting interface, the prompt information for prompting setting of the first closing condition and the setting control corresponding to the prompt information, receive a fifth operation acting on the setting control corresponding to the prompt information, and respond to the fifth operation, the first electronic device may display a third setting interface, where the third setting interface may include the setting control that triggers the first setting interface, and the first operation acts on the setting control that triggers the first setting interface. It can be understood that, before the first electronic device displays the first setting interface for setting the closing condition, the second setting interface may be displayed in response to a fourth operation, and according to the prompt information, the user may trigger to display the third setting interface, and then trigger to display the first setting interface on the third setting interface.
Specifically, the fourth operation may be receiving a display operation for displaying the second setting interface, for example, if the user wants to actively set a shutdown condition for shutting down the cellular communication function, the display operation for displaying the second setting interface may be actively triggered. The fourth operation may also be a detection of a start operation of the cellular communication function of the first electronic device, for example, after the first electronic device actively starts or is triggered to start the start operation of the cellular communication function, the second setting interface may be displayed, that is, the prompt information for prompting the user and the setting control corresponding to the prompt information are output. The fourth operation may also be a turning-on operation of the cellular communication function of the first electronic device, that is, the user may be prompted to perform a specific setting when the cellular communication function is first started by the first electronic device. The fourth operation may also be detecting that the current operation mode of the first electronic device and/or the current operation mode of the second electronic device is a second preset operation mode. For example, the second setting interface is triggered when the current operation mode of the first electronic device is detected to be a specific operation mode and when the connection mode of the second electronic device is detected to be a connected mode, the current operation mode of the second electronic device can be detected to be a specific operation mode. For example, the second preset operation mode may be a power saving mode or a do not disturb mode of the second electronic device, and the second preset operation mode may also be a sleep mode of the first electronic device, and so on. The fourth operation may also be after a call connection is established with the electronic device that initiated the paging after responding to the paging, that is, the fourth operation may be an operation of the first electronic device prompting the user to perform setting after the call connection is ended. The call connection to the account of the cellular communication function may be received for the first time, or the call connection to the account of the cellular communication function may be received each time, and then the user is prompted to perform the setting operation.
Alternatively, the account number of the cellular communication function of the first electronic device may be the same as the account number of the cellular communication function of the second electronic device. The account number of the cellular communication function of the first electronic device may also be different from the account number of the cellular communication function of the second electronic device.
In a possible implementation, the user may directly set the cellular communication function to be in a normally open or normally closed state, i.e., no setting is made for a specific scenario. The user may also specifically set the cellular communication function as a time period for starting or closing, for example, the time period for opening the cellular communication function may be set to 6 am to 22 am, and correspondingly, the time period for closing the cellular communication function may be set to 22 am to 6 am.
Step 402, the first electronic device receives a second operation of the setting control acting on N operation modes of the M operation modes, and generates a first shutdown condition of the cellular communication function in response to the second operation.
In the embodiment of the present application, the second operation may be an operation of setting a control for a part or all of M operation modes, and the part or all of M operation modes may be N operation modes, where N is greater than or equal to 1 and less than or equal to M, and N is an integer. The second operation is to set the first electronic device to turn off the cellular communication function when the operation mode is one or more of the N operation modes. In response to the second operation, the first electronic device may generate a first shutdown condition, where the first shutdown condition may be a shutdown condition for an operating state of the first electronic device.
The second operation is a setting control acting on N operation modes of the M operation modes, and the second operation may be a touch operation on a touch screen of the first electronic device, for example, a click operation or a slide operation, or a trigger operation on a physical case of the first electronic device, for example, a push operation on a physical button, or a scroll operation on a scroll wheel, and the like.
In a possible implementation manner, in a case that the connection mode between the first electronic device and the second electronic device is the connected mode, the first setting interface may include setting controls of P operation modes of the second electronic device, at this time, the first electronic device may receive a third operation that acts on the setting controls of Q operation modes of the P operation modes, and generate a second shutdown condition of the cellular communication function in response to the third operation, where P is greater than or equal to 1 and less than or equal to Q, and P is an integer. It is understood that, in the case that the first electronic device and the second electronic device are connected through the short-range communication function, the user can set the setting control of the operation mode of the second electronic device through the first electronic device, that is, the cellular communication function of the first electronic device is also turned off in the case that the second electronic device is set in a partial or full operation mode.
Wherein the third operation is a setting control acting on Q operation modes in the P operation modes. Similarly, the third operation may be a touch operation on the touch screen of the first electronic device, such as a click operation or a slide operation, or may be a trigger operation on a physical case of the first electronic device, such as a pressing operation on a physical key, or a scrolling operation on a scroll wheel.
In a possible implementation manner, the first electronic device may send the generated first closing condition and the second closing condition to the second electronic device, that is, the closing condition may be synchronized to the second electronic device, and a user may view through a user interface provided by the second electronic device. Optionally, when the connection mode of the first electronic device and the second electronic device is the connected mode, the second electronic device may set the first shutdown condition and the second shutdown condition to obtain updated first shutdown condition and second shutdown condition, return the updated first shutdown condition and second shutdown condition to the first electronic device, and execute, by the first electronic device, an operation of shutting down the cellular communication function according to the updated first shutdown condition and second shutdown condition.
In a possible implementation manner, the first closing condition and the second closing condition generated by the first electronic device may be set by the first electronic device as a default, or may be set by the user step by step as described above. Alternatively, the default setting may be that the cellular communication function is always on, i.e. always in an activated state.
It can be understood that, under the condition that the first electronic device is started up for the first time, if the first electronic device pre-stores the default first shutdown condition and the default second shutdown condition, the first electronic device may load the default first shutdown condition and the default second shutdown condition, and then the user may set the default first shutdown condition and the default second shutdown condition to obtain the updated first shutdown condition and the updated second shutdown condition. And the first electronic equipment loads the updated first closing condition and the second closing condition, judges whether the first closing condition and the second closing condition are met, and closes the cellular communication function under the condition that the first closing condition and the second closing condition are met.
Optionally, the first electronic device factory setting may pre-store a default setting, or may not include any setting. After the first electronic device is restored to the factory settings, the first shutdown condition and the second shutdown condition may be restored to default settings, or the first shutdown condition and the second shutdown condition may be deleted, that is, the existing first shutdown condition and the second shutdown condition are deleted.
Step 403, the first electronic device obtains the current operation mode of the first electronic device.
In the embodiment of the present application, the current operation mode of the first electronic device may be a current operation mode of the first electronic device, and for example, may be one or more of an operation mode of the battery, an operation mode of the scene, and an operation mode of the sensor. The current operation mode may further include a connection mode with the second electronic device, i.e., a connection mode of the short range communication function. The connection mode may include a connected mode and may also include a disconnected mode. The current operation mode acquired by the first electronic device may be one or more of the M operation modes, that is, the current operation mode may be set for all the operation modes during setting, and the current operation mode of the first electronic device may be a part of or all the operation modes. And further determining whether to turn off the cellular communication function according to the current operation mode of the first electronic device and the first turn-off condition.
In a possible implementation manner, when the connection mode between the first electronic device and the second electronic device is the connected mode, the current operation mode of the second electronic device may also be obtained, and similarly, the current operation mode of the second electronic device is one or more of the P operation modes. And further determining whether to turn off the cellular communication function based on the current operating mode of the second electronic device and the second turn-off condition. It is understood that, in a case where the connection mode between the first electronic device and the second electronic device is the disconnection mode, the connection mode of the second electronic device is not actively acquired through the short-range communication function.
In a possible implementation manner, in a case that the second electronic device is to be actively or passively switched to the first preset operation mode, the second electronic device may send operation mode information to the first electronic device, where the operation mode information is used to indicate that the second electronic device is to be switched to the first preset operation mode. For example, the first preset operation mode may be a shutdown mode, and in a case that the second electronic device is to be actively switched (actively shutdown by a user) or passively switched (passively shutdown with zero power) to the shutdown mode, the operation mode information may be sent to the first electronic device before the second electronic device is switched to the shutdown mode. The first electronic device receives operation mode information from the second electronic device, where the operation mode information may include status data of the second electronic device, so that the first electronic device may recognize that the operation mode of the second electronic device is the power-off mode, determine whether a second power-off condition is satisfied, and determine whether to power off the cellular communication function.
Optionally, after the second electronic device switches from the first preset operation mode to the other operation mode, after establishing a communication connection with the first electronic device through the near field communication function, the operation mode information of the second electronic device may be sent to the first electronic device again, where the operation mode information is used to indicate that the second electronic device has switched from the first preset operation mode to the other operation mode. For example, after the second electronic device switches from the power-off mode to the other operation mode, operation mode information indicating that the second electronic device has switched to the other operation mode may be sent to the first electronic device, so that the first electronic device may identify the operation mode of the second electronic device, determine whether the second turn-off condition is met, and determine whether to turn off the cellular communication function.
Step 404, the first electronic device turns off the cellular communication function when the current operation mode of the first electronic device satisfies the first turning off condition.
In the embodiment of the present application, the cellular communication function may be turned off in the case that the first turning-off condition is satisfied, that is, in the case that the first turning-off condition is satisfied by the current operation mode of the first electronic device. For example, the first off condition may include turning off the cellular communication function if the current mode of the first electronic device is a power saving mode, a do-not-disturb mode, a sleep mode, an unworn mode. And under the condition that the current operation mode of the first electronic equipment is the power saving mode, the no-disturbance mode and the sleep mode, determining that a first closing condition is met, and closing the cellular communication function by the first electronic equipment.
For another example, when it is obtained that the current operation mode of the first electronic device is the motion mode, the first electronic device determines that the first turning-off condition is not satisfied, and the first electronic device may keep turning on the cellular communication function, or may switch from turning off the cellular communication function to turning on the cellular communication function. And the first electronic equipment outputs the user interface for incoming call reminding when receiving the paging initiated by other electronic equipment. Optionally, the user interface of the incoming call reminder may include an answer control and a hang-up control.
In a possible implementation manner, when the connection mode of the first electronic device and the second electronic device is the connected mode, the cellular communication function of the first electronic device is turned off when the acquired current operation mode of the second electronic device meets the second turning-off condition. The second switch-off condition may be, for example, to switch off the cellular communication functionality of the first electronic device in the case of a power-off mode and to switch off the cellular communication functionality of the first electronic device in the case of a do-not-disturb mode. Determining that a second closing condition is satisfied in a case where the acquired current operation mode of the second electronic device is the do-not-disturb mode, thereby closing the cellular communication function of the first electronic device.
Optionally, priorities may be set for the first shutdown condition and the second shutdown condition, for example, the priority of the first shutdown condition may be set to be higher than that of the second shutdown condition, so that the cellular communication function of the first electronic device is shut down when the obtained current operation mode of the first electronic device satisfies the first shutdown condition and the obtained current operation mode of the second electronic device does not satisfy the second shutdown condition. Therefore, under the condition that the use requirements of users in different use scenes are met, the power consumption of the first electronic equipment is reduced, the cruising ability and the cruising duration of the first electronic equipment are improved, the users do not need to charge the first electronic equipment for many times, and convenience is brought to the daily use of the users.
The setting of the off condition at the first electronic device will be described in detail below.
According to the method, the first electronic device is taken as the smart watch, and the second electronic device is taken as the mobile phone for example to draw and explain. Referring to fig. 5, fig. 5 is a schematic view of a user interface of the first electronic device displaying the second setting interface according to the embodiment of the present application, and when a fourth operation is received, the second setting interface may be displayed in the dial of the smart watch in response to the fourth operation.
As shown in fig. 5, a prompt message for prompting the setting of the first closing condition and a setting control of the prompt message may be displayed in the second setting interface, and the prompt message may be used to inquire of a user whether to set an operation mode of the first electronic device related to the cellular communication function. If the prompt information can be used for inquiring whether the user carries out scene intelligent management on the eSIM function switch, the prompt information can be used for carrying out scene intelligent setting on the eSIM function, the watch power consumption can be effectively reduced, and the cruising duration is prolonged. The setting control corresponding to the prompt message may be a "go to setting" control as shown in fig. 5. The second setting interface may further include an "ignore" control, where the "ignore" control is used to close the second setting interface, and the first electronic device may read existing settings of the first electronic device, that is, the first electronic device may read stored closing conditions (e.g., the first closing condition and the second closing condition).
Further, referring to fig. 6, fig. 6 is a schematic view of a user interface of the first electronic device displaying the third setting interface according to the embodiment of the present application. The first electronic device may receive a fifth operation that acts on the setting control corresponding to the prompt information, that is, the user may touch the setting control corresponding to the prompt information, for example, the user may touch the "go to setting" control. And responding to the fifth operation to display a third setting interface, wherein the third setting interface comprises a setting control for triggering the first setting interface and can also comprise setting controls of other settings.
As shown in the left side of fig. 6, the user may touch the setting control corresponding to the prompt message, that is, the "go to setting" control, and then the first electronic device displays a third setting interface, as shown in the right side of fig. 6, the third setting interface may include a return control for returning to the previous interface, such as the "eSIM function switch setting" control in fig. 6, or may include other settings, such as normally open and normally closed settings, such as the "always on" control and the "always off" control in fig. 6, or may include a setting control for triggering the first setting interface, such as the "scene intelligent management" control in fig. 6. Furthermore, the user can touch the scene intelligent management control to trigger the first electronic device to display the first setting interface.
Referring to fig. 7, fig. 7 is a schematic view of a user interface of a first electronic device displaying a first setting interface according to an embodiment of the present disclosure. As shown in fig. 7, a first setting interface is jumped to be displayed on the first electronic device, and the first setting interface may include a control for returning to the previous user interface, such as a "scene intelligent management" control, and may further include a specific setting control, such as "whether to start scene intelligent management". Optionally, in case the option is selected, a setting may be made for the operation mode of the first electronic device.
Specifically, the setting interface may further include a comment of "watch side scene setting" as shown in fig. 7, for example, "state can be set without bluetooth connection with the mobile phone," a setting control for selecting a specific setting all over may be displayed next to the "watch side scene setting," for example, a box control of "watch side scene setting" in fig. 7. Specifically, the "watch side scene setting" may include, for example, setting controls of "off in sleep mode", "off in do-not-disturb mode", "off in sport mode", "off in bluetooth disconnected mode", and "off in unworn mode". In the first setting interface shown in fig. 7, each scene corresponds to a setting control, such as the circular control shown in fig. 7. Optionally, a control for customizing the time period for closing the cellular communication function, such as a "custom disabled time period" control, may also be included in the first setting interface.
In a possible implementation manner, the setting for turning off the cellular communication function provided by the embodiment of the present application may also be a setting for a scene on the second electronic device side. In the case where the connection mode of the short-range communication function (such as bluetooth) with the second electronic device is acquired and the connection mode is the disconnection mode, the scene setting to the second electronic device side may not be displayed, as shown in fig. 7 described above, or the scene setting to the second electronic device side may be displayed, but this part is set in the unselected state. Referring to fig. 8, fig. 8 is another schematic view of a user interface of a first electronic device displaying a first setting interface according to an embodiment of the present disclosure.
As shown in fig. 8, the first display interface may include "watch-side scene setting" as shown in fig. 7, and may further include "mobile phone-side scene setting", as shown in fig. 8, the "mobile phone-side scene setting" may include a comment on the "mobile phone-side scene setting", for example, "status is acquirable only in bluetooth connection with a mobile phone", and a setting control for fully selecting a specific setting, for example, a box control of "mobile phone-side scene setting" in fig. 8, may be displayed beside the "mobile phone-side scene setting". The "mobile phone side scene setting" may include setting controls of "do not disturb off in mode", "off in power saving mode", and "off in power off mode", for example. It should be noted that the "acquirable state" means that the operation mode (for example, state data) of the mobile phone can be acquired only when the connection mode of the smart watch is the connected mode, and the acquirable state may also be referred to as an identifiable state, and the name and the calling law of the acquirable state are not limited to this.
In a first setup interface as shown in FIG. 8, there may be one setup control per scene, such as the circular control shown in FIG. 8. In the mobile phone side scene setting, because the smart watch (the first electronic device) and the mobile phone (the second electronic device) are not connected through bluetooth, that is, the connection mode of the first electronic device is the disconnection mode, the "mobile phone side scene setting" may be displayed in a preset manner, such as the graying display shown in fig. 8, and the first electronic device may not respond to the operation of the "mobile phone side scene setting" part in an unselected state. Optionally, a control for customizing the time period for turning off the cellular communication function, such as a "customized disabled time period" control, may be further included below the "handset-side scene setting" region.
In a possible implementation manner, in a case where a communication connection is established between the first electronic device and the second electronic device through the near field communication function, the first electronic device side scene setting may be displayed in the first setting interface, and the second electronic device side scene setting may also be displayed, and at this time, the second electronic device side scene setting is set to be normally displayed, and is set to be in a selectable state with respect to the second electronic device side scene.
As shown in fig. 9, for example, the user may select options for a setting control of "close in sleep mode", a setting control of "close in do not disturb mode", and a setting control of "close in unworn mode" among "watch side scene settings". For another example, the user may select an option for a "close in do not disturb mode" setting control that may be acted on in "handset side scene settings". The first electronic equipment generates a first closing condition in response to a second operation in the first setting interface, and generates a second closing condition in response to a third operation in the first setting interface.
It should be noted that, because the dial display area of the smart watch is limited, all display contents are drawn in fig. 7 to 9 as examples, and in the actual use process of the smart watch, all contents of the first setting interface may be switched and displayed through sliding operation, or all contents of the first setting interface may be switched and displayed by rotating the wheel of the smart watch.
It should be understood that "state" in fig. 7-9 is only a word used in this embodiment, and represents the operation mode in this embodiment, and the name of this word does not limit this embodiment in any way.
In a possible implementation manner, in a case where the first electronic device and the second electronic device establish a communication connection through the near field communication function, that is, in a case where the connection mode of the first electronic device is the connected mode, the first electronic device may send the first shutdown condition and the second shutdown condition to the second electronic device. The user can synchronously view and set the content set on the first electronic device from the second electronic device, i.e. the two electronic devices can be synchronized in real time in the connected mode in the off condition for the cellular communication function (the first off condition and the second off condition).
Referring to fig. 10, fig. 10 is a schematic view of a user interface for synchronizing a first close condition and a second close condition according to an embodiment of the present application. As shown in fig. 10, when the first electronic device (smart watch) and the second electronic device (mobile phone) establish a communication connection through a short-range communication function (such as bluetooth), the content set on the smart watch is synchronized to the mobile phone, and the user interface thereof is adaptively adjusted according to the user interface of the mobile phone. As shown in fig. 10, for example, the user may select options for a setting control of "off in sleep mode," a setting control of "off in do not disturb mode," and a setting control of "off in unworn mode" among the "watch side scene settings. For another example, the user may select an option for a "do not disturb mode off" setting control in "cell phone side scene settings".
Referring to fig. 11, fig. 11 is a timing diagram illustrating a configuration flow according to an embodiment of the present disclosure. As shown in fig. 11, in response to the fourth operation, the first electronic device may display a second setting interface, for example, the smart watch may receive an eSIM incoming call for the first time, after the call flow is ended, the smart watch may display the second setting interface, and may output a prompt message on the second setting interface, where the prompt message may be used to query "whether the user performs scene intelligent management on the eSIM function switch," if the user selects yes (that is, the first electronic device receives a fifth operation acting on a setting control corresponding to the prompt message), the user goes to the setting, that is, a third setting interface is displayed, and if the user selects no (that is, the first electronic device ignores the setting), the second setting interface is closed, and the first closing condition and/or the second closing condition is read.
Further, if the first electronic device receives a first operation, which is performed in the third setting interface, for triggering the setting control of the first setting interface, and if the user can click "intelligent management of interface scene", the first setting interface may be displayed, where the first setting interface may be used to specifically set a scene of each eSIM function, and the first setting interface is as shown in fig. 7 to 9, which is not described herein again. And the first electronic equipment receives the second operation and then generates a first closing condition, or receives the second operation and the third operation and generates the first closing condition and the second closing condition. The first electronic device may receive operations to act on other settings, generating other shutdown conditions, such as the settings for the custom disable period described above. Therefore, under the condition that the daily communication requirement of a user can be met, the cellular communication function can be set from multiple different scenes, the set scenes are richer, the setting is more humanized and intelligent, the power consumption of the first electronic equipment is also reduced, and the cruising ability of the first electronic equipment is increased.
Referring to fig. 12, fig. 12 is another timing diagram of a configuration flow according to an embodiment of the disclosure. Fig. 12 is a drawing and an explanation of a specific setting example in which the first electronic device is a smart watch. In response to a fourth operation, for example, if the fourth operation is to receive an incoming call from another electronic device through the eSIM function for the first time, after receiving a paging request and establishing a call connection with the other electronic device, the smart watch may display a second setting interface, where the second setting interface may be as shown in fig. 5. If the intelligent watch does not receive the incoming call from other electronic equipment through the eSIM function for the first time, the switch setting of the eSIM function in the intelligent watch can be read. It can be understood that if the smart watch does not receive an incoming call through the eSIM function of another electronic device for the first time, the incoming call may be set and stored when the smart watch receives the incoming call for the first time, and only needs to be read.
Further, in a second setting interface displayed by the smart watch, prompt information is further included, and the prompt information can be used for inquiring whether the user performs scene intelligent management on the eSIM function switch. As shown in FIG. 5, the second setup interface may also include two controls, such as a "go to setup" control and an "ignore" control. In the case where the user's operation (fifth operation) acts on the "go to settings" control, the smart watch jumps to display a third settings interface, which may be as described above in fig. 6. In the event that the user input acts on the ignore control, the smart watch may read the eSIM function switch settings stored by the smart watch.
Furthermore, if the user does not want to perform specific settings for different scenes, the smart watch may further receive a trigger operation for an "always on" control or an "always off" control in a displayed third setting interface, so that the smart watch may determine that the eSIM function is in a normally open state or a normally closed state. In the third setting interface displayed by the smartwatch, the third setting interface includes a setting control for triggering the first setting interface, such as a "scene intelligent management" control shown in fig. 6, and when the smartwatch receives a trigger for the "scene intelligent management" control, the smartwatch jumps to display the first setting interface, which may be as shown in fig. 7.
Turning on and off the cellular communication function at the first electronic device is described in detail below.
In a possible implementation manner, the first closing condition is not satisfied in the current operation mode of the first electronic device; or the current operation mode of the first electronic device does not meet the first closing condition, and the current operation mode of the second electronic device does not meet the second closing condition; the cellular communication function may be activated or may be maintained in an activated state. When other electronic devices initiate a paging request for an account of the cellular communication function of the first electronic device, the first electronic device may display an incoming call reminder and vibrate or ring according to the contextual model. It should be noted that, if it is determined whether the current operation mode of the second electronic device satisfies the second closing condition, the connection mode of the first electronic device is the connected mode.
Referring to fig. 13, fig. 13 is a schematic view of a user interface of a first electronic device for enabling a cellular communication function according to an embodiment of the present application. Other electronic devices (such as the mobile phone in fig. 13) send a paging request, that is, send a connection request for establishing a communication connection, to the first electronic device through an account of the first electronic device, the first electronic device (such as the smart watch in fig. 13) may display the incoming call reminder in a dial, and a user interface of the incoming call reminder may include an identifier of the other electronic device, such as "XXX", and an avatar, and may further include an answering control and a hang-up control. The first electronic equipment can respond to the operation of the answering control and establish call connection with the electronic equipment; the first electronic device may reject the connection request sent by the electronic device in response to the operation of the hang-up control, and may not establish a call connection with the electronic device.
It should be noted that, in the case that the connection mode of the first electronic device is the connected mode, the first electronic device may periodically or aperiodically acquire the status data of the second electronic device, that is, acquire the operation mode of the second electronic device, and determine whether to turn off the cellular communication function of the first electronic device. The second electronic device may also periodically or aperiodically send its own status data to the first electronic device, so that the first electronic device may determine whether the shutdown condition is satisfied according to the acquired operation mode.
In another possible implementation manner, the current operation mode of the first electronic device satisfies the first closing condition; or the current operation mode of the first electronic device meets the first closing condition, and the current operation mode of the second electronic device meets the second closing condition; or the cellular communication function may be turned off in case the current operation mode of the second electronic device satisfies the second turn-off condition. In the case where there are other electronic devices initiating a paging request for an account of the cellular communication function of the first electronic device, the first electronic device does not display an incoming call alert. Under the condition that the account number of the cellular communication function of the second electronic device is the same as the account number of the cellular communication function of the first electronic device, the second electronic device can display the incoming call prompt and display corresponding controls, such as an answering control, a hang-up control and the like.
Referring to fig. 14, fig. 14 is a schematic diagram of a user interface of a first electronic device for disabling a cellular communication function according to an embodiment of the present application. As shown in fig. 14, in a case where the other electronic device initiates a paging request, i.e., a connection request for establishing a call connection, for the account of the first electronic device (smart watch), the smart watch may not receive the paging request, and the incoming call reminder is not displayed in the user interface, where the user interface of the smart watch may display a status bar including a cellular communication function signal, a WiFi signal, and a battery level, and may also display time, such as "08.
Moreover, a user interface of the incoming call reminder may be displayed on the second electronic device with the same account, and in the user interface of the incoming call reminder, for example, an account, an identifier (such as "XXX"), an answering control, a hang-up control, a short message control, and a reminding control of the electronic device that initiates the paging request shown in fig. 14 may also be displayed. Fig. 14 is an example only, and the user interface of the incoming call reminder is not limited. The short message control is used for sending a short message to the electronic equipment initiating the paging request and rejecting the paging request, and the reminding control is used for rejecting the paging request and setting an alarm clock to remind a user of the incoming call.
From this, after first electronic equipment closed this cellular communication function, can reduce first electronic equipment's consumption, long when improving first electronic equipment's duration, the user need not to charge repeatedly many times, provides convenient for the user uses wearable equipment such as intelligent wrist-watch.
It should be noted that, in a case that the accounts of the cellular communication functions of the first electronic device and the second electronic device are different, that is, in a case that the first electronic device and the second electronic device receive services of two accounts respectively, the cellular communication function is turned off at the first electronic device. In the case where there is another electronic device initiating a paging request for an account (e.g., a first account) of a cellular communication function of a first electronic device, the first electronic device does not display an incoming call alert. On the contrary, when the cellular communication function of the first electronic device is started, the first electronic device displays the incoming call reminder only under the condition that other electronic devices initiate paging requests for the first account. Similarly, the second electronic device may display the incoming call reminder only when there is another electronic device initiating a paging request for an account (e.g., the second account) of the cellular communication function of the second electronic device.
It can be understood that, in a case where the accounts of the cellular communication functions of the first electronic device and the second electronic device are different, the first electronic device cannot receive a paging request for the account (e.g., the second account) of the cellular communication function of the second electronic device, and likewise, the second electronic device cannot receive a paging request for the account (e.g., the first account) of the cellular communication function of the first electronic device, that is, each of the accounts handles communication services of independent accounts.
Referring to fig. 15, fig. 15 is a schematic structural diagram of a shutdown device for cellular communication functions according to an embodiment of the present application. The cellular communication function shutdown apparatus 1500 shown in fig. 15 may include: a display unit 1501, a receiving unit 1502, an acquiring unit 1503, a closing unit 1504, and a transmitting unit 1505, wherein the detailed description of each unit is as follows:
a display unit 1501, configured to display, in response to a first operation, setting controls of M operation modes of a first electronic device on a first setting interface, where the setting controls are used to close a cellular communication function of the first electronic device; m is an integer greater than 1;
a receiving unit 1502, configured to receive a second operation of a setting control applied to N operation modes of the M operation modes, and generate a first off condition of the cellular communication function in response to the second operation; n is more than or equal to 1 and less than or equal to M, and N is an integer;
an obtaining unit 1503, configured to obtain a current operation mode of the first electronic device; the current operation mode of the first electronic device is one or more of the M operation modes;
a closing unit 1504, configured to close the cellular communication function when the current operation mode of the first electronic device satisfies the first closing condition.
In a possible implementation manner, the obtaining unit 1503 is configured to obtain a current operation mode of the first electronic device, and specifically configured to:
and acquiring a connection mode with the second electronic equipment, wherein the connection mode is a connection mode of the short-distance communication function.
In one possible implementation manner, the second electronic device is a terminal device having the cellular communication function, and the cellular communication function of the second electronic device is the same as or different from the account of the cellular communication function.
In a possible implementation manner, the connection mode is a connected mode, and the display unit 1501 is further configured to display setting controls of P operation modes of the second electronic device on the first setting interface, where P is an integer greater than 1.
In a possible implementation manner, the receiving unit 1502 is further configured to receive a third operation of a setting control applied to Q operation modes of the P operation modes, and generate a second off condition of the cellular communication function in response to the third operation; p is more than or equal to 1 and less than or equal to Q, and P is an integer;
the obtaining unit 1503 is further configured to obtain a current operation mode of the second electronic device; the current operation mode of the second electronic device is one or more of the P operation modes;
the closing unit 1504 is further configured to close the cellular communication function when the current operation mode of the second electronic device satisfies the second closing condition.
In a possible implementation manner, the apparatus 1500 for turning off the cellular communication function further includes:
the sending unit 1505 is configured to send the first shutdown condition and the second shutdown condition to the second electronic device.
In a possible implementation manner, the connection mode is a disconnection mode, and the display unit 1501 is further configured to display setting controls of P operation modes of the second electronic device on the first setting interface, where the setting controls of the P operation modes are in an unselected state, and P is an integer greater than 1.
In a possible implementation manner, the receiving unit 1502 is further configured to receive operation mode information from the second electronic device, where the operation mode information is used to instruct the second electronic device to switch to a first preset operation mode.
In a possible implementation manner, the obtaining unit 1503 is configured to obtain a current operation mode of the first electronic device, and specifically includes at least one of:
acquiring the running mode of a battery of the first electronic equipment;
acquiring the operation mode of the scene of the first electronic equipment;
and acquiring the operation mode of the sensor of the first electronic equipment.
In a possible implementation manner, the display unit 1501 is further configured to display, in response to a fourth operation, prompt information for prompting setting of the first closing condition and a setting control corresponding to the prompt information on a second setting interface;
the receiving unit 1502 is further configured to receive a fifth operation that acts on the setting control corresponding to the prompt information, and display a third setting interface in response to the fifth operation, where the third setting interface includes the setting control that triggers the first setting interface, and the first operation acts on the setting control that triggers the first setting interface.
In one possible implementation, the fourth operation includes at least one of:
receiving a display operation for displaying the second setting interface;
detecting a start operation of a cellular communication function of the first electronic device;
detecting an opening operation of a cellular communication function of the first electronic device;
and detecting that the current operation mode of the first electronic device and/or the current operation mode of the second electronic device is a second preset operation mode.
It should be noted that, for the functions of each functional unit in the shutdown device 1500 of the cellular communication function described in the embodiment of the present application, reference may be made to the description related to step 401 to step 404 in the foregoing method embodiment in fig. 4, and details are not described herein again.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the above computer program instructions are loaded and executed on a computer, the processes or functions described above in accordance with the present application are generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk), among others.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a first electronic device (which may be a personal computer, a server, or a network device, and may specifically be a processor in the first electronic device) to execute all or part of the steps of the above-described method according to the embodiments of the present application. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a magnetic disk, an optical disk, a Read-Only Memory (ROM) or a Random Access Memory (RAM).
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (14)

1. A method for shutting down a cellular communication function, comprising:
responding to a first operation, displaying setting controls of M running modes of first electronic equipment on a first setting interface, wherein the setting controls are used for closing a cellular communication function of the first electronic equipment; m is an integer greater than 1;
receiving a second operation of a setting control acting on N operation modes in the M operation modes, and responding to the second operation to generate a first closing condition of the cellular communication function; n is more than or equal to 1 and less than or equal to M, and N is an integer;
acquiring a current operation mode of the first electronic equipment; the current operation mode of the first electronic equipment is one or more of the M operation modes;
and closing the cellular communication function when the current operation mode of the first electronic equipment meets the first closing condition.
2. The method of claim 1, wherein the obtaining the current operation mode of the first electronic device comprises:
and acquiring a connection mode with the second electronic equipment, wherein the connection mode is a connection mode of the short-distance communication function.
3. The method according to claim 2, wherein the second electronic device is a terminal device having the cellular communication function, and the cellular communication function of the second electronic device is the same as or different from the account of the cellular communication function.
4. The method of claim 2, wherein the connected mode is a connected mode, the method further comprising:
and displaying setting controls of P running modes of the second electronic equipment on the first setting interface, wherein P is an integer larger than 1.
5. The method of claim 4, further comprising:
receiving a third operation of a setting control acting on Q operation modes in the P operation modes, and responding to the third operation to generate a second closing condition of the cellular communication function; p is more than or equal to 1 and less than or equal to Q, and P is an integer;
acquiring a current operation mode of the second electronic equipment; the current operation mode of the second electronic equipment is one or more of the P operation modes;
and closing the cellular communication function when the current operation mode of the second electronic equipment meets the second closing condition.
6. The method of claim 5, further comprising:
sending the first and second shutdown conditions to the second electronic device.
7. The method of claim 2, wherein the connected mode is a disconnected mode, the method further comprising:
and displaying setting controls of P running modes of the second electronic equipment on the first setting interface, wherein the setting controls of the P running modes are in an unselected state, and P is an integer greater than 1.
8. The method of claim 4, further comprising:
receiving operation mode information from the second electronic device, wherein the operation mode information is used for indicating that the second electronic device is to be switched to a first preset operation mode.
9. The method of claim 1, wherein obtaining the current operating mode of the first electronic device comprises at least one of:
acquiring an operation mode of a battery of the first electronic equipment;
acquiring an operation mode of a scene of the first electronic equipment;
an operating mode of a sensor of the first electronic device is obtained.
10. A method according to claim 2 or 3, characterized in that the method further comprises:
responding to a fourth operation, and displaying prompt information for prompting to set the first closing condition and a setting control corresponding to the prompt information on a second setting interface;
and receiving a fifth operation acting on a setting control corresponding to the prompt message, and responding to the fifth operation to display a third setting interface, wherein the third setting interface comprises the setting control for triggering the first setting interface, and the first operation acts on the setting control for triggering the first setting interface.
11. The method of claim 10, wherein; the fourth operation comprises at least one of:
receiving display operation for displaying the second setting interface;
detecting an initiation operation of a cellular communication function of the first electronic device;
detecting an open operation of a cellular communication function of the first electronic device;
and detecting that the current operation mode of the first electronic device and/or the current operation mode of the second electronic device is a second preset operation mode.
12. An electronic device, comprising a processor and a memory, the processor and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-11.
13. A computer program product comprising instructions for causing a first electronic device to perform the method according to any one of claims 1-11 when the computer program product is run on the first electronic device.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1-11.
CN202211126359.4A 2022-09-16 2022-09-16 Method for closing cellular communication function and related electronic equipment Active CN115209514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211126359.4A CN115209514B (en) 2022-09-16 2022-09-16 Method for closing cellular communication function and related electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211126359.4A CN115209514B (en) 2022-09-16 2022-09-16 Method for closing cellular communication function and related electronic equipment

Publications (2)

Publication Number Publication Date
CN115209514A true CN115209514A (en) 2022-10-18
CN115209514B CN115209514B (en) 2023-02-07

Family

ID=83572247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211126359.4A Active CN115209514B (en) 2022-09-16 2022-09-16 Method for closing cellular communication function and related electronic equipment

Country Status (1)

Country Link
CN (1) CN115209514B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469662A (en) * 2014-12-15 2015-03-25 王家城 Automated communication switching method and equipment among multiple mobile communication terminals
WO2016113693A1 (en) * 2015-01-14 2016-07-21 Neptune Computer Inc. Wearable data processing and control platform apparatuses, methods and systems
CN106376067A (en) * 2016-08-30 2017-02-01 上海卓易科技股份有限公司 Method and apparatus for reducing power consumption of wearable device
CN106416309A (en) * 2014-04-02 2017-02-15 索尼公司 Power efficient proximity detection
CN106648030A (en) * 2016-12-29 2017-05-10 江西博瑞彤芸科技有限公司 Energy-saving control method for mobile terminal
CN106797415A (en) * 2014-09-02 2017-05-31 苹果公司 Telephone user interface
CN107040877A (en) * 2017-03-31 2017-08-11 华为技术有限公司 A kind of signal processing method and terminal
CN110087292A (en) * 2019-04-28 2019-08-02 努比亚技术有限公司 Intelligent wearable device, energy-saving control method and computer readable storage medium
CN111555767A (en) * 2020-04-24 2020-08-18 深圳市爱都科技有限公司 Power consumption control method and device, wearable device and computer-readable storage medium
CN112566031A (en) * 2020-12-16 2021-03-26 深圳市沃特沃德股份有限公司 Anti-theft method and device of associated intelligent wearable device and computer device
CN113129663A (en) * 2021-03-22 2021-07-16 西安理工大学 Ancestor and grandchild interaction system and ancestor and grandchild interaction method based on wearable equipment
CN113543294A (en) * 2021-07-14 2021-10-22 东莞市小精灵教育软件有限公司 Communication control method of intelligent terminal, intelligent terminal and medium
CN113923611A (en) * 2020-07-09 2022-01-11 荣耀终端有限公司 Call forwarding system and related device
CN114035671A (en) * 2021-11-08 2022-02-11 南京航空航天大学 Cloud + multi-terminal cooperative energy-saving task unloading method for multi-working-mode wearable computing system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106416309A (en) * 2014-04-02 2017-02-15 索尼公司 Power efficient proximity detection
CN106797415A (en) * 2014-09-02 2017-05-31 苹果公司 Telephone user interface
CN104469662A (en) * 2014-12-15 2015-03-25 王家城 Automated communication switching method and equipment among multiple mobile communication terminals
WO2016113693A1 (en) * 2015-01-14 2016-07-21 Neptune Computer Inc. Wearable data processing and control platform apparatuses, methods and systems
CN106376067A (en) * 2016-08-30 2017-02-01 上海卓易科技股份有限公司 Method and apparatus for reducing power consumption of wearable device
CN106648030A (en) * 2016-12-29 2017-05-10 江西博瑞彤芸科技有限公司 Energy-saving control method for mobile terminal
CN107040877A (en) * 2017-03-31 2017-08-11 华为技术有限公司 A kind of signal processing method and terminal
CN110087292A (en) * 2019-04-28 2019-08-02 努比亚技术有限公司 Intelligent wearable device, energy-saving control method and computer readable storage medium
CN111555767A (en) * 2020-04-24 2020-08-18 深圳市爱都科技有限公司 Power consumption control method and device, wearable device and computer-readable storage medium
CN113923611A (en) * 2020-07-09 2022-01-11 荣耀终端有限公司 Call forwarding system and related device
CN112566031A (en) * 2020-12-16 2021-03-26 深圳市沃特沃德股份有限公司 Anti-theft method and device of associated intelligent wearable device and computer device
CN113129663A (en) * 2021-03-22 2021-07-16 西安理工大学 Ancestor and grandchild interaction system and ancestor and grandchild interaction method based on wearable equipment
CN113543294A (en) * 2021-07-14 2021-10-22 东莞市小精灵教育软件有限公司 Communication control method of intelligent terminal, intelligent terminal and medium
CN114035671A (en) * 2021-11-08 2022-02-11 南京航空航天大学 Cloud + multi-terminal cooperative energy-saving task unloading method for multi-working-mode wearable computing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐连雷等: "运营商蜂窝物联网关键技术探讨", 《中国新通信》 *

Also Published As

Publication number Publication date
CN115209514B (en) 2023-02-07

Similar Documents

Publication Publication Date Title
KR102522266B1 (en) Application display method and electronic device
KR102470275B1 (en) Voice control method and electronic device
CN110471639B (en) Display method and related device
WO2021052263A1 (en) Voice assistant display method and device
CN112399390B (en) Bluetooth connection method and related device
WO2021000804A1 (en) Display method and apparatus in locked state
CN114327666B (en) Application starting method and device and electronic equipment
CN110910872A (en) Voice interaction method and device
WO2021057452A1 (en) Method and device for presenting atomic service
CN113778574B (en) Card sharing method, electronic equipment and communication system
WO2021175272A1 (en) Method for displaying application information and related device
CN113747374B (en) Message pushing method and device
WO2022127130A1 (en) Method for adding operation sequence, electronic device, and system
US20230236714A1 (en) Cross-Device Desktop Management Method, First Electronic Device, and Second Electronic Device
WO2021042881A1 (en) Message notification method and electronic device
US20240168603A1 (en) Card Display Method, Electronic Device, and Computer-Readable Storage Medium
CN114844984B (en) Notification message reminding method and electronic equipment
US20220291832A1 (en) Screen Display Method and Electronic Device
CN115209514B (en) Method for closing cellular communication function and related electronic equipment
WO2024109481A1 (en) Window control method and electronic device
US12032799B2 (en) Card sharing method, electronic device, and communications system
CN118301581A (en) Bluetooth device management method and electronic device
CN114336984A (en) Wireless charging display method and electronic equipment

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