CN114665916B - Mode switching method, mode switching device, wearable device and computer readable storage medium - Google Patents

Mode switching method, mode switching device, wearable device and computer readable storage medium Download PDF

Info

Publication number
CN114665916B
CN114665916B CN202011545863.9A CN202011545863A CN114665916B CN 114665916 B CN114665916 B CN 114665916B CN 202011545863 A CN202011545863 A CN 202011545863A CN 114665916 B CN114665916 B CN 114665916B
Authority
CN
China
Prior art keywords
mode
operating system
target
wearable device
working
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011545863.9A
Other languages
Chinese (zh)
Other versions
CN114665916A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011545863.9A priority Critical patent/CN114665916B/en
Publication of CN114665916A publication Critical patent/CN114665916A/en
Application granted granted Critical
Publication of CN114665916B publication Critical patent/CN114665916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/385Transceivers carried on the body, e.g. in helmets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • 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 relates to a mode switching method, a mode switching device, computer equipment and a storage medium. The method comprises the following steps: acquiring the equipment type of the target equipment under the condition that near field communication triggering operation is detected to occur between the wearable equipment and the target equipment; determining a working mode of the operating system currently operated by the wearable device; and switching the working mode of the operating system operated by the wearable device to the target mode based on the device type of the target device and the working mode of the operating system operated currently. By adopting the method, the mode switching efficiency of the wearable equipment can be improved.

Description

Mode switching method, mode switching device, wearable device and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a mode switching method, a mode switching device, a wearable device, and a computer readable storage medium.
Background
With the development of computer technology, various wearable devices such as smart watches, smart bracelets, smart glasses, headphones, and the like have emerged. In order to adapt to different scenes, the wearable device is generally provided with a plurality of operating systems, and the wearable device can be operated in different working modes by switching between different operating systems.
However, the conventional wearable device switches between different working modes, which generally requires a user to manually switch, and has complicated steps and low mode switching efficiency.
Disclosure of Invention
The embodiment of the application provides a mode switching method, a mode switching device, wearable equipment and a computer readable storage medium, which can improve the efficiency of mode switching.
A mode switching method applied to a wearable device, the method comprising:
acquiring the equipment type of the target equipment under the condition that near field communication triggering operation is detected to occur between the wearable equipment and the target equipment;
determining a working mode of the operating system currently operated by the wearable device;
and switching the working mode of the operating system operated by the wearable device to a target mode based on the device type of the target device and the working mode of the operating system operated currently.
A mode switching device, applied in a wearable device, comprising:
the near field communication triggering module is used for acquiring the equipment type of the target equipment under the condition that near field communication triggering operation is detected to occur between the wearable equipment and the target equipment;
an initial mode determining module, configured to determine a working mode of an operating system currently operated by the wearable device;
And the operation mode switching module is used for switching the operation mode of the operating system operated by the wearable device to the target mode based on the device type of the target device and the operation mode of the current operation operating system.
A wearable device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the mode switching method as described above.
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of a mode switching method as described above.
The mode switching method, the device, the wearable equipment and the computer readable storage medium are applied to the wearable equipment, under the condition that near field communication triggering operation occurs between the wearable equipment and the target equipment, the equipment type of the target equipment is acquired, and the working mode of the operating system currently operated by the wearable equipment is determined, so that the current scene of the wearable equipment can be predicted based on the equipment type of the target equipment and the working mode of the operating system currently operated, the corresponding target mode can be accurately determined, the working mode of the operating system operated by the wearable equipment is switched to the target mode, the problem of low efficiency caused by manual mode switching of a user is avoided, and the efficiency of mode switching is improved; and the operation mode of an operating system operated by the wearable device can be automatically switched under the condition that near field communication triggering operation between the wearable device and the target device is detected, so that the non-perception switching of the modes can be realized, and the smoothness of the operation of the wearable device in the switching process of different modes is improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an application environment diagram of a mode switching method in one embodiment;
FIG. 2 is a flow chart of a mode switching method in one embodiment;
FIG. 3 is a flow chart of a mode switching method in another embodiment;
FIG. 4 is a flow chart of a mode switching method in another embodiment;
FIG. 5 is a flow chart of a mode switching method in another embodiment;
FIG. 6 is a flow chart of a mode switching method in another embodiment;
FIG. 7 is a flow chart of a mode switching method in another embodiment;
FIG. 8 is a block diagram of a mode switching device in one embodiment;
fig. 9 is a schematic diagram of an internal structure of a wearable device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It will be understood that the terms first, second, etc. as used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first operating system may be referred to as a second operating system, and similarly, a second operating system may be referred to as a first operating system, without departing from the scope of the application. The first operating system and the second operating system are both operating systems, but they are not the same operating system.
FIG. 1 is a schematic diagram of an application environment of a mode switching method in one embodiment. As shown in fig. 1, the application environment includes a wearable device 102 and a target device 104. The wearable device 102 acquires the device type of the target device 104 when detecting that a near field communication trigger operation occurs between the wearable device and the target device 104; determining a working mode of the wearing device 102 for running an operating system at present; the operating mode of the operating system operated by the wearable device 102 is switched to the target mode based on the device type of the target device 104 and the operating mode of the currently operated operating system. The wearable device 102 may be any device such as, but not limited to, a smart watch, a smart bracelet, an earphone, a smart glasses, and the like. The target device 104 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and other portable wearable devices, bus card swiping devices, subway card swiping gates.
FIG. 2 is a flow chart of a mode switching method in one embodiment. The mode switching method in this embodiment is described taking the wearable device in fig. 1 as an example. As shown in fig. 2, the mode switching method includes steps 202 to 206.
Step 202, acquiring the device type of the target device under the condition that near field communication triggering operation occurs between the wearable device and the target device.
The wearable device is a portable 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 can realize powerful functions such as a call function, a payment function, a music playing function and the like through software support, data interaction and cloud interaction. The target device is a device that is in near field communication with the wearable device.
Near field communication (Near Field Communication, abbreviated as NFC) is an emerging technology, devices (such as mobile phones) using NFC technology can exchange data in a situation of being close to each other, and the devices are integrated and evolved by non-contact Radio Frequency Identification (RFID) and interconnection technology.
It can be understood that the near field communication modules are arranged in the wearable device and the target device, so that the near field communication function can be realized. Optionally, the near field communication triggering operation may be a touch operation between the wearable device and the target device, or an operation that makes a distance between the wearable device and the target device smaller than a specified distance and larger than a zero distance. The zero distance indicates that touch operation occurs between the wearable device and the target device.
In one embodiment, in the event of a near field communication trigger operation between the wearable device and the target device, a near field communication connection is established between the wearable device and the target device. For example, near field communication connection is established between the wearable device and the target device, the working mode of the operating system operated by the wearable device is a second mode with lower performance, the device type of the target device is a terminal type, which indicates that the user is about to use the wearable device, and then the mode of the operating system operated by the wearable device can be switched from the second mode with lower performance to the first mode with higher performance.
In another embodiment, in case a near field communication trigger operation occurs between the wearable device and the target device, the near field communication connection is disconnected between the wearable device and the target device. For example, the near field communication connection is disconnected between the wearable device and the target device, the working mode of the operating system currently operated by the wearable device is a first mode with higher performance and higher power consumption, the device type of the target device is a terminal type, which indicates that the user finishes near field communication with the target device by using the wearable device, and then the mode of the operating system operated by the wearable device can be switched from the first mode with higher power consumption to the second mode with lower power consumption.
The device type of the target device refers to the type to which the device itself of the target device belongs. The device type can be a terminal type, a ticket card type, a traffic gate device type and the like. The terminal type target device can be a smart phone, a smart watch, a tablet personal computer and the like, and the ticket card type target device can be a subway card, a bus card, an identity card and the like. The target equipment of the traffic gate equipment type can be subway gates, high-speed rail station gates and the like.
Under the condition that near field communication triggering operation occurs between the wearable device and the target device is detected, data exchange is carried out between the wearable device and the target device, basic information sent by the target device is received, and the device type of the target device is obtained from the basic information. The basic information may include an identification of the target device, a device type, a model number of a processor in the device, and the like.
Step 204, determining a working mode of the wearable device in which the operating system is currently running.
An Operating System (OS) is a computer program that manages computer hardware and software resources. The operating system may be a Windows operating system, an Android operating system, a Linux operating system, a real-time operating system (RTOS), etc.
The wearable device may take the working mode of the currently running operating system as an initial mode. It should be noted that the wearable device includes at least two operating systems and also includes at least two operating modes, and when the wearable device runs the same operating system, the wearable device may be in the same operating mode or may be in different operating modes.
For example, the operating system currently operated by the wearable device is an Android operating system, and the current working mode can be a big core mode or a hybrid mode. For another example, the operating system currently operated by the wearable device is a real-time operating system, and the current working mode may be a small core mode or a hybrid mode. That is, when the wearable device is in the hybrid mode, the currently running operating system may be an Android operating system or a real-time operating system, and the Android operating system and the real-time operating system may be switched.
Step 206, switching the working mode of the operating system operated by the wearable device to the target mode based on the device type of the target device and the working mode of the operating system currently operated.
The target mode is an operation mode to which the target device is to be switched.
Based on the device type of the target device with the near field communication triggering operation, the wearable device can determine the type of the device to which the target device with the near field communication triggering operation belongs. The wearable device can determine the use condition of the user on the wearable device based on the working mode of the currently operated operating system, namely the initial mode. For example, the operating system currently operated by the wearable device is an Android operating system, and the Android operating system has higher power consumption and can realize more functions of the wearable device, so that it can be determined that the user just uses the wearable device. For another example, the operating system currently corresponding to the wearable device is a real-time operating system, and the power consumption of the real-time operating system is low, so that some basic functions of the wearable device can be realized, and therefore it can be determined that the user does not use the wearable device, and near field communication triggering operation occurs between the wearable device and the target device, which indicates that the user is about to use the wearable device.
The mode switching method, the device, the wearable equipment and the computer readable storage medium are applied to the wearable equipment, under the condition that near field communication triggering operation occurs between the wearable equipment and the target equipment, the equipment type of the target equipment is acquired, and the working mode of the operating system currently operated by the wearable equipment is determined, so that the current scene of the wearable equipment can be predicted based on the equipment type of the target equipment and the working mode of the operating system currently operated, the corresponding target mode can be accurately determined, the working mode of the operating system operated by the wearable equipment is switched to the target mode, the problem of low efficiency caused by manual mode switching of a user is avoided, and the efficiency of mode switching is improved; and the operation mode of an operating system operated by the wearable device can be automatically switched under the condition that near field communication triggering operation between the wearable device and the target device is detected, so that the non-perception switching of the modes can be realized, and the smoothness of the operation of the wearable device in the switching process of different modes is improved.
In one embodiment, as depicted in fig. 3, the wearable device performs step 302, detecting that a near field communication trigger operation occurs with the target device; step 304 is performed to obtain the device type of the target device. The wearable device determines that the working mode of the currently running operating system is an initial mode, and determines a target mode based on the device type and the initial mode of the target device. The wearable device executes step 306 to initiate mode switching, and switches the operating mode of the operating system operated by the wearable device from the initial mode to the target mode.
And under the condition that the working mode of the operating system operated by the wearable equipment is switched to the target mode, the switching is successful. And under the condition that the working mode of the operating system operated by the wearable equipment cannot be switched to the target mode, the switching failure occurs. It can be understood that in the process of mode switching of the wearable device, communication interaction between processors of different operating systems is completed, and when abnormal conditions exist in the communication interaction between the processors of different operating systems, mode switching cannot be achieved.
In one embodiment, after the mode switching of the wearable device fails, the wearable device executes a method based on the device type and the initial mode of the target device, determines the target mode, re-determines a new target mode, and switches the operating mode of the operating system operated by the wearable device from the current operating mode of the operating system to the new target mode.
In another embodiment, after the mode switching of the wearable device fails, a prompt message is displayed in a display interface of the wearable device and/or the target device to indicate that the near field communication triggering operation occurs again between the wearable device and the target device.
In one embodiment, as shown in fig. 4, the operating modes of the operating system of the wearable device include a first mode, a second mode, and a hybrid mode; the power consumption of the first mode, the mixed mode and the second mode is sequentially reduced; the method further comprises the following steps:
step 402, determining that the target mode is a hybrid mode or a second mode when the current operating mode of the operating system is the first mode and the device type of the target device is the terminal type.
The power consumption of the first mode, the hybrid mode and the second mode is reduced in sequence, the performance of the wearable device of the first mode, the hybrid mode and the second mode is also reduced in sequence, and the number of functions which can be realized by wearing the wearable device of the first mode, the hybrid mode and the second mode is also reduced in sequence.
The first mode has higher performance, more functions can be realized, and higher power consumption. The first mode may be specifically a working mode of an Android operating system or a working mode of a Windows operating system, so that functions with high requirements on power consumption and performance, such as talking, music playing, and the like, can be realized.
The second mode has lower performance, fewer functions can be realized, and lower power consumption. The second mode can be specifically a working mode of a real-time operating system or a working mode of a Linux operating system, and can realize functions with lower requirements on power consumption and performance, such as dial display, event reminding and the like.
The hybrid mode refers to an operating mode in which the operating system of the first mode and the operating system of the second mode are combined. In the case of a wearable device in a hybrid mode, switching may be performed between a first operating system in a first mode and a second operating system in a second mode. The performance of the mixed mode is medium, the functions which can be realized are medium, and the power consumption is medium. The mixed mode can be specifically a working mode in which an Android operating system and a real-time operating system are combined. Under the condition that the wearable device is in the mixed mode, the first operating system can be in a dormant state so as to save resources of the wearable device, and basic functions such as a dial and the like are realized by the second operating system.
When the current operating mode of the operating system is a first mode and the device type of the target device is a terminal type, the fact that the wearable device is in the first mode with higher power consumption indicates that the user just uses the wearable device and does not use the wearable device in a short time, and near field communication triggering operation occurs between the wearable device and the terminal type target device, which means that the user is about to use the terminal type target device, the target mode is determined to be a hybrid mode or a second mode, the operating mode of the operating system operated by the wearable device can be switched from the first mode to the hybrid mode or the second mode, and power consumption of the wearable device can be saved.
Step 404, determining that the target mode is the hybrid mode or the first mode when the working mode of the current running operating system is the second mode and the device type of the target device is the terminal type.
When the current operating mode of the operating system is the second mode and the device type of the target device is the terminal type, the wearable device is in the second mode with lower power consumption, and near field communication triggering operation occurs between the wearable device and the target device of the terminal type, which means that the user is about to use the wearable device, and the target mode is determined to be the hybrid mode or the first mode, so that the operating mode of the operating system operated by the wearable device can be switched from the second mode to the hybrid mode or the first mode, and the performance of the wearable device in operation can be improved.
In another embodiment, in the case where the operation mode in which the operating system is currently running is a hybrid mode and the device type of the target device is a terminal type, the switching of the operation mode is not performed.
It can be understood that, when the operating mode of the operating system operated by the wearable device is in the hybrid mode, the hybrid mode can be switched between the operating system in the first mode and the operating system in the second mode, so that high-performance operation in the first mode can be realized, and low-power operation in the second mode can be realized.
In one embodiment, when the working mode of the operating system operated by the wearable device is the first mode, the wearable device is in a state in which the first operating system is operated; when the working mode of the operating system operated by the wearable device is the second mode, the wearable device is in a state of the second operating system; under the condition that the working mode of an operating system operated by the wearable device is a mixed mode, the wearable device is in a state that the first operating system or the second operating system is operated; when the current operating mode of the operating system is the first mode and the device type of the target device is the terminal type, determining that the target mode is the hybrid mode or the second mode further includes: under the condition that the working mode of an operating system operated by the wearable device is a mixed mode, the wearable device is in a state of operation of a second operating system; when the current operating mode of the operating system is the second mode and the device type of the target device is the terminal type, determining that the target mode is the hybrid mode or the first mode further includes: and under the condition that the working mode of the operating system operated by the wearable device is a mixed mode, the wearable device is in a state that the first operating system is operated.
Under the condition that the working mode of an operating system operated by the wearable device is a first mode, the wearable device is in a state that the first operating system is operated, and the first operating system is operated by the first processor. And under the condition that the working mode of the operating system operated by the wearable device is a second mode, the wearable device is in a state that the second operating system is operated, and the second operating system is operated by the second processor. Under the condition that the working mode of the operating system operated by the wearable device is a mixed mode, the wearable device is in a state that the first operating system or the second operating system is operated, namely, under the mixed mode, the wearable device can be switched between the first operating system and the second operating system.
When the current operating mode of the operating system is a first mode and the device type of the target device is a terminal type, the method indicates that the wearable device is in the first mode with higher power consumption, the user just uses the wearable device, determines that the target mode is a hybrid mode or a second mode, and switches the operating mode of the operating system operated by the wearable device from the first mode to the hybrid mode or the second mode. And in the case that the operating mode of the operating system operated by the wearable device is a hybrid mode, the wearable device may be in a state where the second operating system with lower power consumption is operated.
And under the condition that the working mode of the current running operating system is a second mode and the equipment type of the target equipment is a terminal type, the wearable equipment is indicated to be in the second mode with lower power consumption, and the wearable equipment is used by a user, and the target mode is determined to be a mixed mode or a first mode. And under the condition that the working mode of the operating system operated by the wearable device is a mixed mode, the wearable device can be in a state that the first operating system with higher performance is operated.
In one embodiment, as shown in fig. 5, the method further includes:
step 502, acquiring an identifier of a target device under the condition that near field communication triggering operation occurs between the wearable device and the target device is detected.
Under the condition that near field communication triggering operation occurs between the wearable device and the target device is detected, data exchange is carried out between the wearable device and the target device, basic information sent by the target device is received, and the identification of the target device is obtained from the basic information. The basic information may include an identification of the target device, a device type, a model number of a processor in the device, and the like.
In step 504, in the event that the target device is determined to be a device associated with the wearable device based on the identification of the target device, itinerary association information is extracted from the target device.
The trip-related information refers to information related to a trip in the target device. The trip-related information may include schedule information, location information, and the like, in particular.
The associated device identification is prestored in the wearable device. After the wearable device acquires the identification of the target device, the identification of the target device is matched with the prestored associated device identification, and when the matching is successful, the target device is the device associated with the wearable device.
It is understood that a device not associated with a wearable device may only perform a general near field communication function, and the wearable device may only acquire basic information of the non-associated device. And the device associated with the wearable device stores a defined near field communication protocol in advance, and when the wearable device and the associated device perform near field communication triggering operation, the associated device can send the journey association information to the wearable device based on the defined near field communication protocol.
Based on the device type of the target device and the working mode of the operating system currently operated, switching the working mode of the operating system operated by the wearable device to the target mode comprises the following steps:
step 506, switching the working mode of the operating system operated by the wearable device to the target mode based on the device type of the target device, the working mode of the operating system currently operated and the travel related information.
The wearable device can determine the use condition of the user on the wearable device based on the working mode of the currently operated operating system, namely the initial mode. Based on the device type of the target device with the near field communication triggering operation, the wearable device can determine the type of the device to which the target device with the near field communication triggering operation belongs. The wearable device can determine the travel of the user based on the travel association information.
Therefore, the wearable device can more accurately predict the current scene of the wearable device based on the device type of the target device, the working mode of the operating system currently operated and the travel related information, so that the target mode is more accurately determined, and the working mode of the operating system operated by the wearable device is switched to the target mode.
In one embodiment, the trip-related information includes calendar information; based on the device type of the target device, the working mode of the operating system currently running and the travel related information, switching the working mode of the operating system running by the wearable device to the target mode, wherein the switching comprises the following steps: under the condition that the equipment type of the target equipment is the terminal type, the working mode of the operating system which is currently operated is the first mode, and the current moment is at a specified event in schedule information, switching the working mode of the operating system operated by the wearable equipment to the target mode; the target mode is a hybrid mode, the power consumption of which is lower than the power consumption of the first mode.
The schedule information is a schedule and an arrangement of a certain period by a user of the target device. For example, one or more events may be included in the calendar information, such as 8-point take high-speed rail, 10-point meeting, 15-point alarm clock reminder, and so forth.
The wearable device acquires schedule information from the target device, so that the schedule and arrangement of a user for a certain time period can be known, and the scene of the wearable device can be predicted more accurately. For example, near field communication triggering operation occurs between the wearable device and the target device, schedule information extracted by the wearable device comprises 10 points of meeting, and when the current time is 10 points, it can be predicted that the user is in a meeting scene.
Under the condition that the device type of the target device is the terminal type, the working mode of the operating system running currently is the first mode, and the current moment is the appointed event in the schedule information, the method indicates that the user just uses the wearable device, the target device of the terminal type is about to be used, and the appointed event in the schedule information is executed, the target mode is determined to be the mixed mode, and the working mode of the operating system running by the wearable device is switched from the first mode to the mixed mode with lower power consumption. And after the working mode of the operating system operated by the wearable device is switched to the hybrid mode, the functions such as a call function are reserved, and calls incoming by other devices can be received in time in the process of executing specified events in schedule information by a user.
In this embodiment, when the device type of the target device is the terminal type, the working mode of the current running operating system is the first mode, and the current time is the designated event in the schedule information, the target mode is determined to be the hybrid mode, so that the power consumption of the wearable device can be reduced, more functions of the wearable device such as a call function can be realized, and the relationship between the power consumption and the performance is better balanced.
In one embodiment, the trip-related information includes location information; based on the device type of the target device, the working mode of the operating system currently running and the travel related information, switching the working mode of the operating system running by the wearable device to the target mode, wherein the switching comprises the following steps: under the conditions that the equipment type of the target equipment is the terminal type, the working mode of the current running operating system is the second mode, and the position information is in the traffic platform, the working mode of the operating system running by the wearable equipment is switched to the target mode, the target mode is the first mode, and the performance of the first mode is higher than that of the second mode.
A traffic station is an area where passengers wait while riding a vehicle.
When the device type of the target device is the terminal type, the working mode of the current running operating system is the second mode, and the position information is in the traffic platform, the fact that the user does not use the wearable device is indicated, near field communication triggering operation occurs between the wearable device and the target device, which means that the user is about to use the wearable device, and the position information is in the traffic platform, the user may need to take the traffic tool with the payment function or the near field communication function of the wearable device.
It can be understood that when the user adopts the wearable device to take a vehicle, requirements on reaction capability, data processing capability, timeliness and the like of the wearable device are high, the target mode can be determined to be the first mode with the highest performance, and the working mode of the operating system operated by the wearable device is switched to the first mode.
In one embodiment, as shown in fig. 6, the method further includes:
step 602, obtaining scene information of a wearable device.
The scene information refers to information of a scene in which the wearable device is located. The scene information may include heart rate of the user, moving speed, weather information, time information, etc. For example, when the heart rate of the user is at a low level and the current time is at the sleep time, it may be determined that the scene where the wearable device is located is a sleep scene. Under the condition that the heart rate of the user is at a higher level and the moving speed is higher, the scene where the wearable device is located can be judged to be a sports scene.
The method further comprises the following steps:
step 604, predicting the current scene of the wearable device based on the device type of the target device, the working mode of the current running operating system and scene information.
The wearable device stores the corresponding relation among the device type of the device, the working mode of the current running operating system and the scene information of which the near field communication triggering operation occurs between the scene and the wearable device, and the wearable device matches the corresponding relation among the device type of the target device, the working mode of the current running operating system and the scene information, so that the current scene of the wearable device can be found.
The current scene of the wearable device may include a sleep scene, a motion scene, a conference scene, a do-not-disturb scene, and the like.
Step 606, determining a target mode corresponding to the current scene from the corresponding relation between the preset scene and the mode.
The wearable device stores a corresponding relation between a preset scene and a preset mode, the corresponding relation between the current scene and the preset mode is matched, a target mode corresponding to the current scene can be found, and the working mode operated by the wearable device can be switched to the target mode.
In this embodiment, the scene information of the wearable device is obtained, so that the current scene of the wearable device can be predicted more accurately based on the device type of the target device, the working mode of the current running operating system and the scene information, thereby determining the target mode more accurately, and switching the working mode of the wearable device to the target mode.
In one embodiment, as shown in fig. 7, predicting the current scene of the wearable device based on the device type of the target device, the working mode of the currently running operating system, and the scene information includes:
step 702, predicting that a current scene of the wearable device is a sleep scene when the device type of the target device is a terminal type, the working mode of the current running operating system is a first mode, and the current moment accords with the sleep time range included in the scene information.
Under the conditions that the equipment type of the target equipment is the terminal type, the working mode of the current running operating system is the first mode, and the current moment accords with the sleeping time range included in the scene information, the situation that the user just uses the wearable equipment is indicated, the target equipment is about to be used, the wearable equipment is not used in a short time, the current moment accords with the sleeping time range included in the scene information, and the current scene of the wearable equipment can be predicted to be a sleeping scene.
Step 704, predicting that the current scene of the wearable device is a working scene when the device type of the target device is the terminal type, the working mode of the current running operating system is the second mode, and the current moment accords with the working time range included in the scene information.
When the device type of the target device is the terminal type, the working mode of the current running operating system is the second mode, and the current moment accords with the working time range included in the scene information, the fact that the user does not use the wearable device is indicated, the fact that near field communication trigger operation occurs with the target device indicates that the user is about to use the wearable device is indicated, and the fact that the current moment accords with the working time range included in the scene information can predict that the current scene of the wearable device is the working scene. The working time range can be set according to the needs of the user, can be from 9 am to 6 pm, can be from 7 am to 12 pm, and can be from the time of getting up to the time of sleeping, but is not limited to this.
Determining a target mode corresponding to the current scene from a preset relation between a preset scene and modes, wherein the method comprises the following steps:
in step 706, in the case that the current scene is a sleep scene, the target mode is determined to be the second mode from a preset relationship between the preset scene and the mode.
It can be understood that in the case that the current scene is a sleep scene, the user almost does not need to use the wearable device, and then the target mode can be determined to be the second mode with the lowest power consumption, so that the resources of the wearable device are saved.
Step 708, determining that the target mode is a mixed mode from a preset relationship between a preset scene and a mode when the current scene is a working scene; the power consumption of the first mode, the hybrid mode, and the second mode is sequentially reduced.
It can be understood that, in the case that the current scene is a working scene, the user is in a working state, and may need to use more functions of the wearable device, such as a call function, and the like, then the target mode can be determined to be a hybrid mode, so that not only is certain power consumption saved, but also more functions can be reserved, such as a call received in time, and the relationship between the power consumption and the performance is balanced.
It should be understood that, although the steps in the flowcharts of fig. 2 to 7 are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps of fig. 2-7 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps or stages of other steps.
Fig. 8 is a block diagram of a mode switching device according to an embodiment. As shown in fig. 8, a mode switching apparatus is provided, which includes a near field communication triggering module 802, a current mode determining module 804, and an operation mode switching module 806, wherein:
the near field communication triggering module 802 is configured to obtain a device type of the target device when detecting that a near field communication triggering operation occurs between the wearable device and the target device.
The current mode determining module 804 is configured to determine a working mode of the wearable device in which the operating system is currently running.
The operation mode switching module 806 is configured to switch the operation mode of the operating system operated by the wearable device to the target mode based on the device type of the target device and the current operation mode of the operating system.
The mode switching device is applied to the wearable equipment, and when near field communication triggering operation is detected between the wearable equipment and the target equipment, the equipment type of the target equipment is obtained, and the working mode of the operating system currently operated by the wearable equipment is determined, so that the current scene of the wearable equipment can be predicted based on the equipment type of the target equipment and the working mode of the operating system currently operated, the corresponding target mode can be accurately determined, the working mode of the operating system operated by the wearable equipment is switched to the target mode, the problem of low efficiency caused by the mode switching performed manually by a user is avoided, and the efficiency of the mode switching is improved; and the operation mode of an operating system operated by the wearable device can be automatically switched under the condition that near field communication triggering operation between the wearable device and the target device is detected, so that the non-perception switching of the modes can be realized, and the smoothness of the operation of the wearable device in the switching process of different modes is improved.
In one embodiment, the operating modes of the operating system of the wearable device include a first mode, a second mode, and a hybrid mode; the power consumption of the first mode, the mixed mode and the second mode is sequentially reduced; the operation mode switching module 806 is further configured to determine that the target mode is a hybrid mode or a second mode when the current operation mode of the operating system is a first mode and the device type of the target device is a terminal type; and determining that the target mode is a mixed mode or a first mode under the condition that the working mode of the current running operating system is a second mode and the equipment type of the target equipment is the terminal type.
In one embodiment, when the working mode of the operating system operated by the wearable device is the first mode, the wearable device is in a state in which the first operating system is operated; when the working mode of the operating system operated by the wearable device is the second mode, the wearable device is in a state of the second operating system; under the condition that the working mode of an operating system operated by the wearable device is a mixed mode, the wearable device is in a state that the first operating system or the second operating system is operated; under the condition that the working mode of an operating system operated by the wearable device is a mixed mode, the wearable device is in a state of operation of a second operating system; and under the condition that the working mode of the operating system operated by the wearable device is a mixed mode, the wearable device is in a state that the first operating system is operated.
In one embodiment, the near field communication triggering module 802 is further configured to obtain an identifier of the target device when detecting that a near field communication triggering operation occurs between the wearable device and the target device; extracting trip-related information from the target device in the event that the target device is determined to be a device associated with the wearable device based on the identification of the target device; the operation mode switching module 806 is further configured to determine a target mode based on a device type of the target device, a working mode of a currently running operating system, and trip related information.
In one embodiment, the trip-related information includes calendar information; the operation mode switching module 806 is further configured to determine that the target mode is a hybrid mode when the device type of the target device is a terminal type, the working mode of the current operating system is a first mode, and the current time is a specified event in the schedule information; the power consumption of the hybrid mode is lower than the power consumption of the first mode.
In one embodiment, the mode switching device further includes a scene information obtaining module, configured to obtain scene information of the wearable device; the operation mode switching module 806 is further configured to predict a current scene of the wearable device based on the device type of the target device, the working mode of the current operating system, and scene information; and determining a target mode corresponding to the current scene from the corresponding relation between the preset scene and the mode.
In one embodiment, the operation mode switching module 806 is further configured to predict that the current scene of the wearable device is a sleep scene when the device type of the target device is a terminal type, the working mode of the current operating system is a first mode, and the current time accords with the sleep time range included in the scene information; under the conditions that the equipment type of the target equipment is the terminal type, the working mode of the current running operating system is the second mode, and the current moment accords with the working time range included by the scene information, the current scene of the wearable equipment is predicted to be the working scene; under the condition that the current scene is a sleep scene, determining that the target mode is a second mode according to a preset relation between a preset scene and a mode; under the condition that the current scene is a working scene, determining that the target mode is a mixed mode according to a preset relation between a preset scene and a mode; the power consumption of the first mode, the hybrid mode, and the second mode is sequentially reduced.
The division of the modules in the above-described mode switching device is merely for illustration, and in other embodiments, the mode switching device may be divided into different modules as needed to perform all or part of the functions of the above-described mode switching device.
For specific limitations of the mode switching device, reference may be made to the above limitations of the mode switching method, and no further description is given here. The respective modules in the above-described mode switching device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Fig. 9 is a schematic diagram of an internal structure of a wearable device in one embodiment. As shown in fig. 9, the wearable device includes a processor and a memory connected through a system bus. Wherein the processor is configured to provide computing and control capabilities to support operation of the entire wearable device. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program is executable by a processor for implementing a mode switching method provided in the following embodiments. The internal memory provides a cached operating environment for operating system computer programs in the non-volatile storage medium. The wearable device can be any terminal device such as an intelligent watch, an intelligent bracelet, an earphone, intelligent glasses and the like.
The implementation of each module in the mode switching device provided in the embodiment of the present application may be in the form of a computer program. The computer program may run on a terminal or a server. Program modules of the computer program may be stored on a memory of the wearable device. Which when executed by a processor, performs the steps of the method described in the embodiments of the application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of a mode switching method.
A computer program product comprising instructions that, when run on a computer, cause the computer to perform a mode switching method.
Any reference to memory, storage, database, or other medium used in the present application may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A mode switching method, characterized by being applied to a wearable device, the method comprising:
acquiring the equipment type of the target equipment under the condition that near field communication triggering operation is detected to occur between the wearable equipment and the target equipment;
determining a working mode of the operating system currently operated by the wearable device; the working modes of the operating system of the wearable device comprise a first mode, a second mode and a mixed mode, wherein the first mode is the working mode of the Android operating system or the working mode of the Windows operating system, the second mode is the working mode of the real-time operating system or the working mode of the Linux operating system, the mixed mode is the working mode of the combination of the operating system of the first mode and the operating system of the second mode, and the power consumption of the first mode, the mixed mode and the second mode is sequentially reduced;
Switching the working mode of the operating system operated by the wearable device to a target mode based on the device type of the target device and the working mode of the currently operated operating system; the target mode is the first mode, the second mode, or the hybrid mode.
2. The method according to claim 1, wherein the method further comprises:
determining that the target mode is a mixed mode or a second mode under the condition that the working mode of the current running operating system is the first mode and the equipment type of the target equipment is the terminal type;
and determining that the target mode is a mixed mode or a first mode under the condition that the working mode of the current running operating system is the second mode and the equipment type of the target equipment is the terminal type.
3. The method according to claim 2, wherein in the case where the operation mode of the operating system operated by the wearable device is the first mode, the wearable device is in a state where the first operating system is operated; when the working mode of the operating system operated by the wearable device is a second mode, the wearable device is in a state of operation of the second operating system; when the working mode of the operating system operated by the wearable device is a hybrid mode, the wearable device is in a state in which the first operating system or the second operating system is operated;
And when the working mode of the currently running operating system is the first mode and the device type of the target device is the terminal type, determining that the target mode is a hybrid mode or a second mode further includes:
when the working mode of the operating system operated by the wearable device is a hybrid mode, the wearable device is in a state in which the second operating system is operated;
and when the working mode of the currently running operating system is the second mode and the device type of the target device is the terminal type, determining that the target mode is a hybrid mode or a first mode further includes:
and under the condition that the working mode of the operating system operated by the wearable device is a mixed mode, the wearable device is in a state of the first operating system.
4. The method according to claim 1, wherein the method further comprises:
acquiring an identifier of target equipment under the condition that near field communication triggering operation is detected to occur between the wearable equipment and the target equipment;
extracting trip-related information from the target device if it is determined that the target device is a device associated with the wearable device based on the identification of the target device;
The switching the working mode of the operating system operated by the wearable device to the target mode based on the device type of the target device and the working mode of the currently operated operating system includes:
and switching the working mode of the operating system operated by the wearable device to a target mode based on the device type of the target device, the working mode of the operating system operated currently and the travel related information.
5. The method of claim 4, wherein the trip-related information includes calendar information; the switching the working mode of the operating system operated by the wearable device to the target mode based on the device type of the target device, the working mode of the currently operated operating system and the travel related information includes:
and under the condition that the equipment type of the target equipment is the terminal type, the working mode of the operating system running currently is the first mode, and the current moment is at a specified event in the schedule information, switching the working mode of the operating system running by the wearable equipment to a target mode, wherein the target mode is a mixed mode.
6. The method according to claim 1, wherein the method further comprises:
Acquiring scene information of the wearable equipment;
predicting a current scene of the wearable device based on the device type of the target device, the working mode of the current running operating system and the scene information;
and determining a target mode corresponding to the current scene from a corresponding relation between a preset scene and a mode.
7. The method of claim 6, wherein predicting the current scene of the wearable device based on the device type of the target device, the operating mode of the currently running operating system, and the scene information comprises:
predicting that the current scene of the wearable device is a sleep scene under the conditions that the device type of the target device is a terminal type, the working mode of the current running operating system is a first mode, and the current moment accords with the sleep time range included by the scene information;
predicting that the current scene of the wearable device is a working scene under the conditions that the device type of the target device is a terminal type, the working mode of the current running operating system is a second mode and the current moment accords with the working time range included by the scene information;
The determining the target mode corresponding to the current scene from the corresponding relation between the preset scene and the mode comprises the following steps:
under the condition that the current scene is a sleep scene, determining that the target mode is a second mode from the corresponding relation between a preset scene and a mode;
and under the condition that the current scene is a working scene, determining that the target mode is a mixed mode from the corresponding relation between the preset scene and the mode.
8. A mode switching device, characterized in that it is applied to a wearable device, comprising:
the near field communication triggering module is used for acquiring the equipment type of the target equipment under the condition that near field communication triggering operation is detected to occur between the wearable equipment and the target equipment;
the current mode determining module is used for determining the working mode of the operating system currently operated by the wearable device; the working modes of the operating system of the wearable device comprise a first mode, a second mode and a mixed mode, wherein the first mode is the working mode of the Android operating system or the working mode of the Windows operating system, the second mode is the working mode of the real-time operating system or the working mode of the Linux operating system, the mixed mode is the working mode of the combination of the operating system of the first mode and the operating system of the second mode, and the power consumption of the first mode, the mixed mode and the second mode is sequentially reduced;
The operation mode switching module is used for switching the operation mode of the operating system operated by the wearable device to a target mode based on the device type of the target device and the operation mode of the current operation operating system; the target mode is the first mode, the second mode, or the hybrid mode.
9. A wearable device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the mode switching method of any of claims 1 to 7.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
CN202011545863.9A 2020-12-23 2020-12-23 Mode switching method, mode switching device, wearable device and computer readable storage medium Active CN114665916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011545863.9A CN114665916B (en) 2020-12-23 2020-12-23 Mode switching method, mode switching device, wearable device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011545863.9A CN114665916B (en) 2020-12-23 2020-12-23 Mode switching method, mode switching device, wearable device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114665916A CN114665916A (en) 2022-06-24
CN114665916B true CN114665916B (en) 2023-12-05

Family

ID=82024857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011545863.9A Active CN114665916B (en) 2020-12-23 2020-12-23 Mode switching method, mode switching device, wearable device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114665916B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023197681A1 (en) * 2022-04-14 2023-10-19 Oppo广东移动通信有限公司 Mode switching method and apparatus, terminal device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792471A (en) * 2016-12-30 2017-05-31 深圳市埃微信息技术有限公司 Sports equipment recognition methods and system based on NFC technique
CN110139270A (en) * 2019-04-10 2019-08-16 努比亚技术有限公司 Wearable device matching method, wearable device and computer readable storage medium
CN110209261A (en) * 2019-05-21 2019-09-06 出门问问信息科技有限公司 Intelligent wearable device control method, device, program product and storage medium
CN111258663A (en) * 2020-01-16 2020-06-09 深圳市和盈互联科技有限公司 Method and device for switching working modes of dual systems and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5930448B2 (en) * 2013-03-08 2016-06-08 株式会社ソニー・インタラクティブエンタテインメント RFID tag reader for near field communication and near field communication system
KR101630726B1 (en) * 2014-12-11 2016-06-17 현대자동차주식회사 Method for recongnizing driver using mobile device and vehicle for the same
JP2018124651A (en) * 2017-01-30 2018-08-09 セイコーエプソン株式会社 Display system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792471A (en) * 2016-12-30 2017-05-31 深圳市埃微信息技术有限公司 Sports equipment recognition methods and system based on NFC technique
CN110139270A (en) * 2019-04-10 2019-08-16 努比亚技术有限公司 Wearable device matching method, wearable device and computer readable storage medium
CN110209261A (en) * 2019-05-21 2019-09-06 出门问问信息科技有限公司 Intelligent wearable device control method, device, program product and storage medium
CN111258663A (en) * 2020-01-16 2020-06-09 深圳市和盈互联科技有限公司 Method and device for switching working modes of dual systems and readable storage medium

Also Published As

Publication number Publication date
CN114665916A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
US9582317B2 (en) Method of using use log of portable terminal and apparatus using the same
US11145272B2 (en) Embedded computing device
US9338629B2 (en) System and method for emergency communications
CN111373348B (en) Application switching method and terminal
CN110677533B (en) Mobile terminal control method and device, mobile terminal and storage medium
KR20140139982A (en) Method for executing voice recognition and Electronic device using the same
CN107545633B (en) Message transmission method and wireless intelligent door lock
CN114422992A (en) Dual-system Bluetooth device and electronic equipment
KR20150051888A (en) Method for controlling power of fingerprint sensor, fingerprint processing device, and electronic device performing thereof
CN114665916B (en) Mode switching method, mode switching device, wearable device and computer readable storage medium
CN114968375A (en) System switching method and device, electronic equipment and readable storage medium
CN108182085B (en) Terminal screen awakening method and device, terminal and storage medium
CN112987907B (en) Control method and device of wearable device, electronic device and readable storage medium
CN113325737A (en) Wearable device control method and device, wearable device and readable storage medium
CN116193419A (en) Communication method, device and equipment
US9900842B2 (en) Embedded computing device
CN115061740B (en) Application processing method and device
CN109992376B (en) Application freezing method, device, terminal and computer readable storage medium
KR20180020745A (en) Electronic device and method for providing information of work and life
CN114489449B (en) Display method and electronic equipment
CN105450850A (en) Method for providing information and electronic device thereof
CN106125985B (en) A kind of control method and terminal
CN112866983B (en) Control method, control device and electronic equipment
CN115562772A (en) Scene recognition and preprocessing method and electronic equipment
CN117273687B (en) Card punching recommendation 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