CN116233304A - Schedule-based equipment state synchronization system, method and device - Google Patents

Schedule-based equipment state synchronization system, method and device Download PDF

Info

Publication number
CN116233304A
CN116233304A CN202211530413.1A CN202211530413A CN116233304A CN 116233304 A CN116233304 A CN 116233304A CN 202211530413 A CN202211530413 A CN 202211530413A CN 116233304 A CN116233304 A CN 116233304A
Authority
CN
China
Prior art keywords
schedule
mode
electronic device
model
contextual model
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
CN202211530413.1A
Other languages
Chinese (zh)
Other versions
CN116233304B (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 CN202211530413.1A priority Critical patent/CN116233304B/en
Publication of CN116233304A publication Critical patent/CN116233304A/en
Application granted granted Critical
Publication of CN116233304B publication Critical patent/CN116233304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/724092Interfacing with an external cover providing additional functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Operations Research (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Artificial Intelligence (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Power Sources (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application provides a device state synchronization system, method and device based on a schedule, relates to the field of terminals, and can help a user to set the state of electronic equipment in advance, and can perform multi-device state synchronization, so that user experience can be improved. The schedule-based equipment state synchronization system comprises first electronic equipment and second electronic equipment, wherein the first electronic equipment is used for determining a mode corresponding to a first schedule, and the mode corresponding to the first schedule comprises at least one of a contextual model, a network model and a power supply model; transmitting schedule information of the first schedule and a mode corresponding to the first schedule to the second electronic equipment; the second electronic equipment is used for receiving schedule information of the first schedule and a mode corresponding to the first schedule; when the schedule starting time of the first schedule arrives, the first electronic device and the second electronic device are used for switching to at least one of a contextual model, a network model and a power mode corresponding to the first schedule.

Description

Schedule-based equipment state synchronization system, method and device
Technical Field
The present disclosure relates to the field of terminals, and in particular, to a system, a method, and an apparatus for synchronizing a device state based on a schedule.
Background
With the development and popularization of electronic devices, electronic devices such as mobile phones, tablet computers, personal computers (personal computer, PCs) play an increasingly important role in learning and working of people. For example, a user may use an electronic device to set a schedule to remind himself to take part in some important activities (e.g., meeting, class, etc.) on time. Users often need to manually set an electronic device (e.g., a cell phone) to a mute/vibrate state before engaging in an activity (e.g., meeting, class, etc.). If the user forgets to set the mobile phone to a mute/vibrate state, the mobile phone ring can be put out, which can disturb the activity order and cause interference to other people and themselves. Moreover, when a user participates in some important activities, a plurality of electronic devices (for example, a mobile phone, a notebook computer, etc.) may be carried with the user, which requires the user to adjust the plurality of electronic devices to a mute state respectively, and is troublesome to operate and easy to miss.
Disclosure of Invention
The embodiment of the application provides a device state synchronization system, method and device based on a schedule, which can help a user to set the state of electronic equipment in advance, can synchronize the states of multiple devices, and can improve user experience.
In a first aspect, an embodiment of the present application provides a calendar-based device state synchronization system, which is a communication system including a first electronic device and a second electronic device, including: the first electronic device is used for displaying a schedule operation interface, wherein the schedule operation interface comprises schedule information of a first schedule, the schedule information at least comprises a schedule title and schedule time, and the schedule time comprises a schedule starting time; the first electronic device is further configured to determine a mode corresponding to a first schedule, where the mode corresponding to the first schedule includes at least one of a contextual model, a network model, and a power mode; the first electronic device is further configured to send schedule information of the first schedule and a mode corresponding to the first schedule to the second electronic device; the second electronic equipment is used for receiving schedule information of the first schedule and a mode corresponding to the first schedule; when the schedule starting time of the first schedule arrives, the first electronic device and the second electronic device are used for switching to at least one of a contextual model, a network model and a power mode corresponding to the first schedule.
Based on the schedule-based device state synchronization system provided by the embodiment of the application, the first electronic device (for example, a mobile phone) can synchronize the schedule information of the first schedule and the mode corresponding to the first schedule to the second electronic device (for example, a tablet computer or a PC). The mode corresponding to the first schedule comprises at least one of a contextual model, a network model and a power mode. Therefore, a user does not need to manually set the contextual models, the network modes, the power modes and the like of a plurality of devices (the first electronic device and the second electronic device), so that the user operation can be simplified, and the user experience can be improved.
In one possible implementation, the schedule time further includes a schedule end time, and the method further includes: when the schedule end time arrives, the first electronic device is used for recovering at least one of a contextual model, a network model and a power mode of the first electronic device before the first schedule starts; the second electronic device is configured to resume at least one of a profile, a network mode, and a power mode of the second electronic device before the first date begins. Thus, when the day is finished, the first electronic device and the second electronic device can automatically recover the mode (the contextual model, the network mode, the power supply mode and the like) before the first day, and the influence on the use experience of the user at other times (the time outside the first day) can be avoided.
In one possible implementation manner, the first electronic device is further configured to determine a mode corresponding to the first day, including: the first electronic equipment is used for carrying out semantic analysis on schedule information of the first schedule and determining similar schedules of the first schedule according to semantic analysis results; the first electronic device is configured to determine a mode corresponding to the first schedule according to a mode corresponding to a similar schedule, where the mode corresponding to the similar schedule includes at least one of a contextual model, a network model, and a power mode. The mode corresponding to the first schedule can be automatically determined according to the similar schedules of the first schedule, the use habit of the user is met, and the user experience can be improved.
In one possible implementation manner, the first electronic device is configured to perform semantic analysis on schedule information of the first schedule, determine a similar schedule of the first schedule according to a semantic analysis result, and include: the first electronic equipment is used for carrying out semantic analysis according to the title of the first schedule; if N schedules exist in the established schedules of the first electronic equipment, the semantics of the schedule titles of the N schedules are the same as or similar to those of the schedules of the first schedules, and the N schedules are similar schedules of the first schedules; wherein N is an integer greater than or equal to 1.
In one possible implementation manner, the first electronic device is configured to input, as a training set, a title of each schedule and a corresponding contextual model in all schedules established by the first electronic device into the semantic analysis model Bert for training, so as to obtain a contextual model prediction model. The contextual model prediction model can be trained according to all schedules established by the first electronic equipment, so that the mode corresponding to the first schedule can be automatically predicted according to the contextual model prediction model, the use habit of a user is met, and the user experience can be improved.
In one possible implementation manner, the first electronic device is configured to input a title of the first schedule into the contextual model prediction model to obtain a contextual model corresponding to the first schedule. The mode corresponding to the first schedule can be automatically predicted according to the contextual model prediction model, and user experience can be improved.
In one possible implementation manner, if the user confirms the contextual model corresponding to the first schedule, adding the title of the first schedule and the contextual model corresponding to the first schedule into the training set of the semantic analysis model Bert for retraining, so as to obtain an updated contextual model prediction model. That is, the contextual model prediction model can be iterated continuously to optimize the prediction capability of the contextual model prediction model continuously, so that the prediction result of the contextual model prediction model is more accurate.
In one possible implementation, the schedule information further includes at least one of a schedule place, a meeting participant, and remark information.
In one possible implementation manner, the first electronic device is further configured to determine a mode corresponding to the first day, including: the first electronic device is used for determining whether a title of a first day has a preset keyword; if the title of the first schedule has a preset keyword, the mode of the first schedule is a preset mode corresponding to the preset keyword, and the preset mode comprises at least one of a preset contextual model, a preset network model and a preset power mode. The corresponding relation between the preset keywords and the preset modes can be defined on the first electronic equipment, if the preset keywords exist in the titles of the first schedules, the modes of the first schedules are determined to be the preset modes corresponding to the preset keywords, manual setting of a user is not needed, and user experience can be improved.
In one possible implementation manner, the first electronic device is further configured to determine a mode corresponding to the first day, including: the first electronic equipment is used for determining a mode corresponding to the first schedule according to the type of the first schedule; wherein the type of the first schedule includes at least one of a work schedule, a learning schedule, and an entertainment schedule. Different types of schedules may correspond to different modes, which may satisfy the user's needs during different schedules (e.g., a silent mode may correspond to a work schedule, which may provide a non-intrusive environment for the user, satisfying the user's needs not to be intrusive).
In one possible implementation, the contextual model includes at least one of a ringing mode, a silent mode, and a vibration mode; the power mode includes at least one of a power saving mode, an equalization mode, and a performance mode; the network mode includes at least one of a data network mode, a wireless local area network WLAN network mode, a flight mode, and a bluetooth mode.
In one possible implementation manner, when the type of the first schedule is a working schedule, the contextual model corresponding to the first schedule is a mute model; when the type of the first schedule is a learning schedule, the contextual model of the first schedule is a vibration model; when the type of the first schedule is entertainment schedule, the contextual model of the first schedule is ringing mode. Thus, the electronic equipment can be in a mute mode during the working schedule, and the mute mode can provide an undisturbed environment for the user so as to meet the requirement that the user is not disturbed. The electronic device may be in a vibration mode during learning of the schedule, so that the user is not disturbed as much as possible and the user is prevented from missing important phones or information. The electronic device may be in a ringer mode during an entertainment schedule that may prevent a user from missing important phones or information.
In one possible implementation, the first electronic device is configured to interconnect with the second electronic device via a short-range communication protocol, where the short-range communication protocol includes at least one of a wireless fidelity (wireless fidelity, wi-Fi) protocol, a Bluetooth (BT) protocol, a near field communication/near field wireless communication technology (near field communication, NFC) protocol, or a Zigbee protocol.
In one possible implementation, the schedule information further includes a schedule reminder time, and the method further includes: when the schedule reminding time arrives, the first electronic device is used for sending out schedule reminding to the user. For example, the first electronic device may alert the user by popping up a banner notification, displaying the notification in notification management, and ringing, vibrating, etc.
In one possible implementation, the first electronic device sending out a calendar reminder to a user includes: the first electronic device is configured to display a first notification message, where the first notification message includes first information, and the first information is configured to indicate a mode corresponding to the first date. Thus, before the schedule starts, the user can know the modes (contextual model, network mode, power mode) of the electronic equipment during the schedule without entering the schedule management application to view, and the user experience can be improved.
In one possible implementation, the calendar operation interface includes a calendar new interface or a calendar editing interface.
In a second aspect, an embodiment of the present application provides a method for synchronizing a device state based on a schedule, including: the first electronic equipment displays a schedule operation interface, wherein the schedule operation interface comprises schedule information of a first schedule, the schedule information at least comprises a schedule title and schedule time, and the schedule time comprises schedule starting time; the method comprises the steps that a first electronic device determines a mode corresponding to a first schedule, wherein the mode corresponding to the first schedule comprises at least one of a contextual model, a network model and a power mode; the first electronic equipment synchronizes schedule information of the first schedule and a mode corresponding to the first schedule to the second electronic equipment; when the schedule starting time of the first schedule arrives, the first electronic equipment is switched to at least one of a contextual model, a network model and a power supply model corresponding to the first schedule.
According to the method provided by the embodiment of the application, the first electronic device (for example, a mobile phone) can synchronize the schedule information of the first schedule and the mode corresponding to the first schedule to the second electronic device (for example, a tablet computer or a PC). The mode corresponding to the first schedule comprises at least one of a contextual model, a network model and a power mode. Therefore, a user does not need to manually set the contextual models, the network modes, the power modes and the like of a plurality of devices (the first electronic device and the second electronic device), so that the user operation can be simplified, and the user experience can be improved.
In one possible implementation, the schedule time further includes a schedule end time, and the method further includes: when the schedule end time arrives, the first electronic equipment restores at least one of the contextual model, the network model and the power mode of the first electronic equipment before the first schedule starts; the second electronic device resumes at least one of a profile, a network profile, and a power profile of the second electronic device before the first date begins.
In one possible implementation, the determining, by the first electronic device, a mode corresponding to the first schedule includes: the first electronic equipment performs semantic analysis on schedule information of the first schedule, and determines similar schedules of the first schedule according to semantic analysis results; the first electronic device determines a mode corresponding to the first schedule according to a mode corresponding to the similar schedule, wherein the mode corresponding to the similar schedule comprises at least one of a contextual model, a network model and a power mode.
In one possible implementation manner, the first electronic device performs semantic analysis on schedule information of the first schedule, determines a similar schedule of the first schedule according to a semantic analysis result, and includes: the first electronic equipment performs semantic analysis according to the title of the first schedule; if N schedules exist in the established schedules of the first electronic equipment, the semantics of the schedule titles of the N schedules are the same as or similar to those of the schedules of the first schedules, and the N schedules are similar schedules of the first schedules; wherein N is an integer greater than or equal to 1.
In one possible implementation manner, the first electronic device inputs the titles and the corresponding contextual models of each schedule in all schedules established by the first electronic device as a training set to a semantic analysis model Bert for training, so as to obtain a contextual model prediction model.
In one possible implementation manner, the first electronic device inputs the title of the first schedule into the contextual model prediction model to obtain the contextual model corresponding to the first schedule.
In one possible implementation manner, if the user confirms the contextual model corresponding to the first schedule, adding the title of the first schedule and the contextual model corresponding to the first schedule into the training set of the semantic analysis model Bert for retraining, so as to obtain an updated contextual model prediction model.
In one possible implementation, the schedule information further includes at least one of a schedule place, a meeting participant, and remark information.
In one possible implementation, the determining, by the first electronic device, a mode corresponding to the first schedule includes: the first electronic device determines whether a title of a first day has a preset keyword; if the title of the first schedule has a preset keyword, the mode of the first schedule is a preset mode corresponding to the preset keyword, and the preset mode comprises at least one of a preset contextual model, a preset network model and a preset power mode.
In one possible implementation, the determining, by the first electronic device, a mode corresponding to the first schedule includes: the first electronic equipment determines a mode corresponding to a first schedule according to the type of the first schedule; wherein the type of the first schedule includes at least one of a work schedule, a learning schedule, and an entertainment schedule.
In one possible implementation, the contextual model includes at least one of a ringing mode, a silent mode, and a vibration mode; the power mode includes at least one of a power saving mode, an equalization mode, and a performance mode; the network mode includes at least one of a data network mode, a wireless local area network WLAN network mode, a flight mode, and a bluetooth mode.
In one possible implementation manner, when the type of the first schedule is a working schedule, the contextual model corresponding to the first schedule is a mute model; when the type of the first schedule is a learning schedule, the contextual model of the first schedule is a vibration model; when the type of the first schedule is entertainment schedule, the contextual model of the first schedule is ringing mode.
In one possible implementation, the first electronic device is interconnected with the second electronic device through a short-range communication protocol including at least one of Wi-Fi protocol, bluetooth protocol, near field communication NFC protocol, or Zigbee protocol.
In one possible implementation, the schedule information further includes a schedule reminder time, and the method further includes: when the schedule reminding time arrives, the first electronic device sends out the schedule reminding to the user.
In one possible implementation, the first electronic device sending out a calendar reminder to a user includes: the first electronic device displays a first notification message, where the first notification message includes first information, and the first information is used to indicate a mode corresponding to the first date.
In one possible implementation, the calendar operation interface includes a calendar new interface or a calendar editing interface.
In a third aspect, the present application provides a chip system comprising one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a wire.
The chip system described above may be applied to a first electronic device comprising a communication module and a memory. The interface circuit is for receiving signals from a memory of the electronic device and transmitting the received signals to the processor, the signals including computer instructions stored in the memory. When executed by a processor, the first electronic device may perform the method as described in the first aspect and any one of its possible designs.
In a fourth aspect, the present application provides a computer-readable storage medium comprising computer instructions. When executed on a first electronic device (e.g. a mobile phone) the computer instructions cause the first electronic device to perform the method as described in the first aspect and any one of its possible designs.
In a fifth aspect, the present application provides a computer program product which, when run on a computer, causes the computer to perform the method according to the first aspect and any one of its possible designs.
In a sixth aspect, the present application provides an apparatus for calendar based device state synchronization, comprising a processor, the processor being coupled to a memory, the memory storing program instructions which, when executed by the processor, cause the apparatus to implement the method of the first aspect and any one of the possible designs thereof. The apparatus may be a first electronic device; or may be an integral part of the first electronic device, such as a chip.
In a seventh aspect, the present application provides a calendar-based device state synchronization apparatus, which may be functionally divided into different logic units or modules, each unit or module performing a different function, so that the apparatus performs the method described in the first aspect and any possible design manner thereof.
It will be appreciated that the advantages achieved by the method according to the second aspect, the chip system according to the third aspect, the computer readable storage medium according to the fourth aspect, the computer program product according to the fifth aspect and the apparatus according to the sixth and seventh aspects provided above may refer to the advantages as in the first aspect and any of the possible designs thereof, and will not be repeated here.
Drawings
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present application;
FIG. 2 is a schematic diagram of another system architecture according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of software module interaction provided in an embodiment of the present application;
fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of a method according to an embodiment of the present disclosure;
FIG. 6 is a schematic view of a display provided in an embodiment of the present application;
FIG. 7 is a schematic view of another display provided in an embodiment of the present application;
FIG. 8 is a schematic view of another display provided in an embodiment of the present application;
FIG. 9 is a schematic view of another display provided in an embodiment of the present application;
FIG. 10 is a schematic view of another display provided in an embodiment of the present application;
FIG. 11 is a schematic view of another display provided in an embodiment of the present application;
FIG. 12 is a schematic diagram of module interaction according to an embodiment of the present disclosure;
FIG. 13 is a schematic diagram of another module interaction provided in an embodiment of the present application;
fig. 14 is a schematic diagram of a system on chip architecture according to an embodiment of the present application.
Detailed Description
For clarity and conciseness in the description of the embodiments below, a brief introduction to related concepts or technologies is first given:
contextual model: is a ringtone and vibration rule stored by an electronic device (e.g., cell phone, tablet, PC, etc.). Different ring volume, vibration level, ring type, etc. may be included in different scenery modes.
Taking a mobile phone as an example, common contextual models of the mobile phone include a ring mode, a mute mode, a vibration mode and other sub-modes.
Ringing mode: the incoming call bell reminding mode is adopted, and the volume tone of the bell is moderate. Is suitable for daily office environment and home environment.
Mute mode (silent mode): the incoming call is generally default to no ringing (sometimes even no alarm clock). Suitable for important meeting, immersion work or learning scene.
Vibration mode: the incoming call is generally default to no ringing and only vibrating. Suitable for general meeting, working or learning scenes.
In some embodiments, the contextual model further includes sub-models of meeting mode, outdoor mode, do not disturb mode, and the like.
Outdoor mode: when an incoming call comes, not only the ring with higher volume is used, but also vibration is added. Is suitable for noisy outdoor environment.
Conference mode: the ring is closed only by vibration when incoming call. Suitable for important meeting, immersion work or learning scene.
No disturbance mode: after the tamper-free turn-on, the electronic device may mute to avoid affecting the current process, in addition to allowing the tamper item (e.g., an alarm clock).
Of course, the electronic device may also include other profiles, such as pager, offline, home, car, etc., to name but a few.
It should be noted that, the classification of the contextual models in the present application is only an example, and in a specific implementation, there may be other classification manners of the contextual models (i.e., the contextual models may include other types of sub-modes), which is not specifically limited in this embodiment of the present application.
Power mode: may also be referred to as a battery set-up or performance set-up mode, and may generally include sub-modes such as a power saving mode, an equalization mode, and a performance mode.
Power saving mode (low power mode): the working frequency of the central processing unit (central processing unit/processor, CPU) and the graphics processing unit (graphics processing unit, GPU) of the electronic device can be reduced, the brightness of the display screen is reduced, the energy consumption is reduced, and the service time of the battery can be prolonged.
Equalization mode: the CPU and GPU chips of the electronic equipment have normal working frequencies, the display screen has normal brightness, the energy consumption is general, and the service time of the battery is normal.
Performance mode: the CPU, GPU and other chips of the electronic equipment have higher working frequency, increased power consumption and larger heating value.
Optionally, the power setting of the electronic device may also include other modes, such as a super power saving mode.
Super power saving mode: the electronic device can close Bluetooth, data connection, global positioning system (global positioning system, GPS) and the like, reduce screen brightness, only reserve the basic call function of the mobile phone, and can prolong the service time of the battery.
It should be noted that the classification of the power modes in the present application is only an example, and in a specific implementation, the power modes may have other classification manners (i.e. the power modes may include other types of sub-modes), which is not specifically limited in this embodiment of the present application.
Network mode: the settings of the network employed by the electronic device may include sub-modes such as data network mode, WLAN network mode, flight mode, bluetooth mode, etc.
Data network mode: refers to an electronic device accessing data through a mobile network (mobile data network/cellular network). For example, the handset may use a mobile network to access the internet based on a subscriber identity module (subscriber identification module, SIM) card. At present, some notebook computers or tablet computers can also use a SIM card, so that surfing the Internet can be performed through a mobile network.
Wireless local area network (Wireless Local Area Networks, WLAN) network mode: a WLAN network (e.g., wi-Fi network) searched by the electronic device is accessed. Wherein the password for the Wi-Fi network to access the internet is known to the electronic device or the password for the Wi-Fi network to access the internet is absent.
Flight mode: the electronic device can also be called as a flight mode (aviation mode and the like), after the flight mode is started, the SIM card of the electronic device has no signal, and the electronic device cannot communicate with the SIM card. If the WLAN network mode of the electronic device is in the on state (i.e., the Wi-Fi switch is in the on state) before the flight mode is started, the WLAN network mode of the electronic device may be turned off after the flight mode is started. But the user may turn on the WLAN network mode of the electronic device again, i.e. the electronic device may be surfing the WLAN network in the flight mode.
Bluetooth mode: wireless information exchange is performed between electronic devices (e.g., cell phones and tablet computers/PCs) via bluetooth technology.
It should be noted that the classification of the network mode in the present application is only an example, and in a specific implementation, the network mode may have other classification manners (i.e. the network mode may include other types of sub-modes), which is not specifically limited in this embodiment of the present application.
It should be noted that the names of the modes described above are only an example, and the names of the modes in the specific implementation may be other, which is not specifically limited in the embodiments of the present application.
Currently, users often need to manually set an electronic device (e.g., a cell phone) to a mute/vibrate state before engaging in important activities (e.g., meeting, class, etc.). If the user forgets to set the mobile phone to a mute/vibrate state, the mobile phone ring can be put out, which can disturb the activity order and cause interference to other people and themselves. Moreover, when a user participates in some important activities, a plurality of electronic devices (for example, a mobile phone, a notebook computer, etc.) may be carried with the user, which requires the user to adjust the plurality of electronic devices to a mute state respectively, and is troublesome to operate and easy to miss.
The embodiment of the application provides a device state synchronization method and device based on a schedule, which can help a user to set the state of electronic equipment in advance, can synchronize the states of multiple devices, avoid the problem that the electronic equipment causes interference to the user, and can improve user experience.
The system architecture according to the embodiments of the present application may include a plurality of electronic devices, for example, a mobile phone 001, a tablet 002, and a PC 003. Optionally, a router 004 may also be included. Networking can be performed among a plurality of electronic devices, and information interaction can be performed among the plurality of electronic devices after networking. The networking method includes, but is not limited to, the following:
(1) Wi-Fi networking mode: multiple electronic devices may access the same routing device (e.g., router). As shown in fig. 1, a mobile phone 001, a tablet personal computer 002 and a PC 003 can be connected to a router 004 to form a home network.
(2) Bluetooth networking mode: as shown in fig. 2, the tablet 002 and PC 003 may be connected to the same bluetooth device (e.g., mobile phone 001), i.e., the mobile phone 001, tablet 002 and PC 003 may form a bluetooth network.
(3) And (3) a hotspot networking mode: as shown in fig. 2, the tablet computer 002 and the PC 003 can be connected to a mobile phone 001 to form a hotspot network, and the mobile phone 001 can be used as a hotspot device.
(4) And (3) a mixed networking mode: for example, the mobile phone 001 and the tablet 002 may establish a bluetooth connection, and the mobile phone 001 and the PC 003 may establish a WIFI P2P connection.
It should be noted that more electronic devices may be included in the system. Or fewer than three electronic devices may be included in the system, for example, including only a mobile phone and a PC, or only a mobile phone and a tablet computer, etc., which embodiments of the present application are not limited to.
As shown in fig. 3, the software architecture of the mobile phone may include a schedule management application 201, a collaboration service module 202, a state management system 203, a communication service module 204, and the like. The state management system 203 may include a profile management module, a network mode management module, a power mode management module, and the like. The contextual model management module is used for managing the bell sound setting and the vibration setting of the electronic equipment. In different scenario modes, the ring tone volume, ring tone type and vibration level of the electronic device are different. The network mode management module is used for managing network settings of the electronic device. In different network modes, the networks that the electronic device may use are different. The power mode management module is used for managing power settings/performance settings of the electronic device. In different power modes, the operating frequency, screen brightness and power consumption of the electronic device are different.
Illustratively, taking a layered Android system as an example, the schedule management application 201, the collaboration service module 202, the state management system 203, and the communication service module 204 may be located at an application layer. Alternatively, the collaboration service module 202, the state management system 203, or the communication service module 204 may be located in an application framework layer, which is not limited in this application. In other operating systems (e.g., hong-and-Monte systems, IOS systems, etc.), the embodiments of the present application can be implemented as long as the functions implemented by the respective functional modules are similar to those implemented by the embodiments of the present application.
Among them, the schedule management application 201 can be used for new creation, modification, deletion, browsing, and the like of schedules. Also, the schedule management application 201 may be connected with the state management system 203. The calendar management application 201 may send instructions to the state management system 203, for example, may send instructions to adjust the profile of the handset to a mute mode. The schedule management application 201 may also obtain current mode information of the mobile phone from the state management system 203, for example, obtain that the current contextual model of the mobile phone is a mute mode. Meanwhile, the schedule management application 201 may also be connected with the collaboration service module 202. The schedule management application 201 may send the schedule file synchronized with other devices to the collaboration service module 202, or may acquire the schedule file synchronized with other devices from the collaboration service module 202.
The collaboration service module 202 may be configured to initiate device authentication (authentication) and authorization (authorization) requests to other devices (tablet/PC) (i.e., send own device authentication information and authorization request information to other devices), and may also verify device authentication information and authorization request information from other devices. The device authentication information includes a device identifier, a user name (user account), a password, and the like. The authorization request information may include information for requesting communication rights (e.g., establishing connection rights) and operation rights (e.g., file transfer rights).
The state management system 203 may be configured to respond to an operation performed by a user through a calendar management application, implement hardware control of the mobile phone, and complete adjustment of a mode of the mobile phone. The state management system 203 may include a profile management module, a network mode management module, a power mode management module, and the like. For example, the profile management module may implement control of an audio module (e.g., speaker) and a vibration module (e.g., motor) to set different profiles of the electronic device. In different scenario modes, the ring tone volume, ring tone type and vibration level of the electronic device are different. The network mode management module can control the network modules such as the mobile network module, the Wi-Fi module, the Bluetooth module and the like so as to set different network modes of the electronic equipment. In different network modes, the networks that the electronic device may use are different. The power mode management module can control the processor, the display screen and the battery to set different power modes of the electronic device. In different power modes, the operating frequency, screen brightness and power consumption of the electronic device are different.
The communication service module 204 may be used to implement communication connections and file transfers between a cell phone and other devices (e.g., tablet/PC), among other things. The communication connection manner may include manners such as Wi-Fi connection, bluetooth connection, hot spot connection, and the like, and the file transfer protocol may include any communication protocol that satisfies the communication requirements of multiple devices (such as mobile phones, computers, and the like) such as SMB (server message block) protocol, network file system (network file system, NFS) protocol, and the like.
Among other things, the software architecture of the tablet/PC may include a calendar management application 301, a collaboration service module 302, a state management system 303, a communication service module 304, and the like. The state management system 303 may include a profile management module, a network mode management module, a power mode management module, and the like. The functions of the schedule management application 301, the collaboration service module 302, the status management system 303, and the communication service module 304 may refer to the descriptions of the corresponding modules of the mobile phone above, and will not be described herein. Of course, the software architecture of the mobile phone, tablet computer/PC may also include many other software modules, which are not limited in this application.
In some embodiments, the calendar management application 201 may create a new calendar, import a calendar, or modify a calendar according to user operations, and may interact with the state management system 203, e.g., the calendar management application 201 may inform the state management system 203 to switch modes of the electronic device at the beginning of the calendar. Modes of the electronic device may include a profile, a network mode, and a power mode. Various sub-modes of the profile, network mode and power mode may be referred to the above related description, and will not be described herein. The schedule management application 203 may also be referred to as a schedule application, a schedule management application, a calendar management application, etc., which is not limited in this application. The state management system 203 may switch the profile, the network mode, the power mode, and the like of the electronic device during a schedule (start time to end time of the schedule) in response to a request of the schedule management application 201. The collaboration service module 202 may obtain a calendar file from the calendar management application 203 and send the calendar file to the communication service module 204. The schedule file may include schedule information (for example, a name, a start time, an end time, etc. of a schedule) and at least one of a profile, a network profile, and a power mode corresponding to the schedule. The communication service module 204 may establish a wireless path with the communication service module 304 to transfer data (e.g., calendar files) between the cell phone and the tablet/PC. The communication service module 204 may send the calendar file to the communication service module 304. The communication service module 304 may interact with the collaboration service module 302, e.g., the communication service module 304 may send a calendar file to the collaboration service module 302. The collaboration service module 302 may send the calendar file to the calendar management application 301. The calendar management application 301 may create a calendar from a calendar file from the handset and may interact with the state management system 303 such that the state management system 303 may switch at least one of a profile, a network profile, and a power profile of the electronic device during the calendar (start time to end time of the calendar) to remain consistent with the handset. For example, if the profile corresponding to the calendar file is a silent mode (i.e., the profile of the mobile phone during the calendar is a silent mode), the calendar management application 301 may notify the profile management module in the state management system 303 of the silent mode so as to synchronize the profile of the tablet/PC into the silent mode.
In other embodiments, the tablet PC may create a new schedule, import a schedule, or modify a schedule according to a user operation, and may synchronize a schedule file to the mobile phone, and the process may refer to the above process of synchronizing a schedule file to the tablet PC by the mobile phone.
In the following, a description will be given of an example of a hardware configuration of the electronic apparatus 100 as an electronic apparatus (electronic apparatus 001-electronic apparatus 003), and fig. 4 shows a schematic diagram of the hardware configuration of the electronic apparatus 100. The electronic device 100 may be a cell phone, tablet, desktop, laptop, handheld, notebook, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, as well as a cellular telephone, personal digital assistant (personal digital assistant, PDA), augmented reality (augmented reality, AR) device, virtual Reality (VR) device, artificial intelligence (artificial intelligence, AI) device, wearable device, vehicle-mounted device, smart home device, and/or smart city device, with the specific types of such electronic devices not being particularly limited in the embodiments of the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge 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, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a SIM card interface 195, etc.
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 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 should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing unit, GPU), an image signal processor (Image Signal Processor, ISP), a controller, a memory, a video codec, a digital signal processor (Digital Signal Processor, DSP), a baseband processor, and/or a Neural network processor (Neural-network Processing Unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals 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 the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image video playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on.
In some embodiments, the processor 110 may include one or more interfaces. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices 100, such as AR devices, etc.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (Low Noise Amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate.
The wireless communication module 160 may provide solutions for wireless communication including WLAN (e.g., wi-Fi network), BT, global navigation satellite system (Global Navigation Satellite System, GNSS), frequency modulation (Frequency Modulation, FM), NFC, infrared (IR), etc. as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the 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, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. 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 speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. The electronic device 100 may be provided with at least one microphone 170C.
The earphone interface 170D is used to connect a wired earphone.
The sensor module 180 may include 1 or more sensors, which may be of the same type or different types. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a touch sensor, an ambient light sensor, and the like.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), an Active-matrix Organic Light-Emitting Diode (AMOLED) or an Active-matrix Organic Light-Emitting Diode (Matrix Organic Light Emitting Diode), a flexible Light-Emitting Diode (Flex), a Mini LED, a Micro-OLED, a quantum dot Light-Emitting Diode (Quantum Dot Light Emitting Diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The electronic device 100 may implement the functions of capturing images through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image or video visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (Charge Coupled Device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to an ISP to be converted into a digital image or video signal. The ISP outputs digital image or video signals to the DSP for processing. The DSP converts digital image or video signals into standard RGB, YUV, etc. format image or video signals.
In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1. For example, in some embodiments, the electronic device 100 may acquire images of multiple exposure coefficients using N cameras 193, and in turn, in video post-processing, the electronic device 100 may synthesize an HDR image by a high dynamic range (High Dynamic Range, HDR) technique from the images of multiple exposure coefficients.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (Moving Picture Experts Group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a Neural-Network (NN) computing processor, and can rapidly process input information by referencing a biological Neural Network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Wherein, in the description of the present application, unless otherwise indicated, "at least one" means one or more, and "a plurality" means two or more. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", and the like are used to distinguish the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
For easy understanding, the following describes the schedule-based device state synchronization method according to the embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 5, an embodiment of the present application provides a method for synchronizing a device state based on a schedule, including:
501. the electronic device starts a calendar management application.
The schedule management application can be used for the user to arrange daily work and business, is convenient for the user to manage daily work and business, and can achieve the purpose of memorandum of work and business. Taking the electronic device (the first electronic device) as an example of a mobile phone, in response to an operation of clicking an icon of the schedule management application on a desktop of the mobile phone by a user, the mobile phone can open the schedule management application (start the schedule management application), so that an interface of the schedule management application can be displayed for the user to view and operate.
502. New schedules, import schedules, or modify schedules.
After the user opens the schedule management application, a schedule can be newly built (create a schedule), imported, or modified (edit a schedule) in the schedule management application.
For example, as shown in fig. 6 (a), the mobile phone displays a new schedule interface 601 of a schedule management application (an example of a schedule operation interface), and the new schedule interface 601 may include a plurality of schedule setting items. For example, the newly created calendar interface 601 may include a title item 602, a place item 603, a time item 604, a reminder item 605, a profile item 606 for the calendar period, a network profile item 607 for the calendar period, and a multi-device synchronization item 608. For example, the title of the current schedule (first schedule) may be "1 st week work summary example meeting", the place is "12 th floor conference hall", the start time is "9 months 1 day at 9:00 am", the end time is "9 months 1 day at 6:00 pm", and the reminder time is 10 minutes before (schedule starts) there is no second reminder, and there is no alarm clock reminder.
The profile item 606 of the schedule period is used for setting the profile of the current schedule period, the profile item 607 of the schedule period is used for setting the profile of the current schedule period, and the multi-device synchronization item 608 synchronizes the schedule information of the current schedule, the profile of the current schedule and/or the profile of the profile to other devices.
Optionally, the newly created calendar interface may also include further settings. For example, a power mode item (a power mode for setting a corresponding schedule period) may also be included, which is not limited in this application.
503. And determining the contextual model of the current schedule.
In one possible design, the electronic device may perform semantic analysis according to schedule information of a newly created schedule or an imported schedule, determine whether a user has established a similar schedule of the current schedule in the electronic device according to a semantic analysis result, and determine a contextual model of the current schedule according to a contextual model of the similar schedule.
Wherein the schedule information may include a title of the schedule. The electronic device may perform semantic analysis based on the title of the calendar. If N schedules exist in the established schedules of the electronic equipment, the semantics of the schedule titles of the N schedules are the same as or similar to the semantics of the titles of the current schedules, and the N schedules are similar schedules of the current schedules. Wherein N is an integer greater than or equal to 1.
In one possible design, the titles of all schedules and the contextual models corresponding to each schedule established by the electronic device may be used as a training set to be input into the semantic analysis model Bert (Bidirectional Encoder Representations from Transformer) for training, so as to obtain a contextual model prediction model. And then inputting the title of the current schedule into a contextual model prediction model, wherein the contextual model prediction model can predict the contextual model of the current schedule.
Optionally, if the user confirms the contextual model of the current schedule predicted by the contextual model prediction model, the title and the contextual model of the current schedule may be added to the training set of Bert (i.e., the training set is updated according to the title and the contextual model of the current schedule) to retrain, so as to obtain an updated contextual model prediction model. I.e. the contextual model prediction model may be iterated continuously to continuously optimize the prediction capabilities of the contextual model prediction model.
For example, as shown in table 1, assuming that the title of the current schedule is "the 5 th week working summary example meeting", the similar schedules having the same or similar semantics as the title of the current schedule may include 4 homogeneous schedules whose titles are respectively: "week 1 working summary example meeting", "week 2 working summary example meeting", "week 3 working summary example meeting", "week 4 working summary example meeting". The contextual models of the similar schedules are all silent modes, and the contextual models of the current schedules can be the same as those of the similar schedules, namely the current schedules can be set to be silent modes.
TABLE 1
Figure BDA0003974211700000131
Optionally, the schedule information of the schedule may further include information of a place, a start time, an end time, a meeting participant, and the like of the schedule. The electronic device can perform semantic analysis on at least one of the schedule place, the starting time, the ending time, the meeting participants and other information, and analyze whether the electronic device has previously established a similar schedule. If the similar schedules are established among the electronic devices, the contextual model of the current schedule can be automatically set based on the contextual models of the similar schedules.
In another possible design, the electronic device may analyze schedule information (e.g., a title of a schedule) of the schedule, determine whether a preset keyword exists in the schedule information of the schedule, and if the preset keyword exists, set a profile of the schedule to a preset profile corresponding to the preset keyword.
For example, as shown in table 2, when preset keywords of an illustrative meeting, conference, seminar, etc. exist in schedule information (e.g., title of schedule) of a schedule, a profile of the schedule may be set to a preset profile (e.g., silent profile); when preset keywords such as outdoor, outdoor and the like exist in schedule information (e.g., a title of a schedule), a contextual model of the schedule can be set as a preset contextual model (e.g., a ringing mode); when preset keywords such as reading, learning, etc. exist in schedule information (e.g., a title of a schedule) of a schedule, a profile of the schedule may be set to a preset profile (e.g., a vibration profile).
TABLE 2
Preset keywords Preset contextual model
… for example meeting, conference and seminar Mute mode
Outdoor and outdoor … Ringing mode
… for reading and learning Vibration mode
In yet another possible design, the electronic device may set contextual models corresponding to different types of schedules in advance. For example, as shown in table 3, when the type of schedule is a work schedule, a profile of the schedule may be set to a silent mode; when the schedule type is a learning schedule, the contextual model of the schedule can be set as a vibration mode; when the schedule type is an entertainment schedule, the profile of the schedule may be set to a ringer mode.
TABLE 3 Table 3
Types of schedules Contextual model
Work schedule Mute mode
Learning schedule Vibration mode
Entertainment schedule Ringing mode
After the electronic equipment determines the contextual model of the current schedule, the user can be reminded to set the contextual model for the current schedule, and the electronic equipment can recommend the contextual model applicable to the current schedule to the user. Alternatively, the electronic device may automatically set a profile for the current calendar. The profile corresponding to the current schedule may be the same as the same type of schedule.
Optionally, the user may also manually set or modify the profile of the current schedule. For example, the user can set the profile of the current schedule through the profile setting item of the schedule setting interface (schedule editing interface/schedule newly created interface). I.e. the profile of the handset during the preset schedule is allowed for the user. Illustratively, as shown in (a) of fig. 6, in response to a user operation (e.g., a click operation) of the profile item 606 of the schedule period, the profile item 606 of the schedule period may be displayed in an expanded manner, including a constant option, a vibration option, a mute option, a ring option, etc., as shown in (b) of fig. 6. Wherein the invariant option means that the electronic device does not change profile during the calendar. The vibration option indicates that the contextual model of the electronic device will switch to a vibration mode during the calendar. The mute option indicates that the contextual model of the electronic device will switch to a mute mode during the calendar. The ringer option indicates that the contextual model of the electronic device will switch to the ringer mode during the calendar. It should be understood that other options may be included in the contextual model item 606 of the calendar period or more options may be included, for example, a meeting mode, an outdoor mode, a no-disturbance mode, etc., which is not limited in this application.
If the vibration option is selected (either automatically by the electronic device or manually by the user), the electronic device may automatically set the profile to vibration mode during the calendar. If the electronic device is not in a vibration mode (e.g., may be in a ringer mode) during the calendar, the electronic device may switch the contextual model to the vibration mode. If the electronic equipment is originally in the vibration mode during the schedule, the electronic equipment can keep the vibration mode.
If the ringer option is selected (either automatically by the electronic device or manually by the user), the electronic device may automatically set the profile to the ringer mode during the calendar. If the electronic device is not in the ringer mode (e.g., may be in a silent mode) during the calendar, the electronic device may switch the contextual model to the ringer mode. If the electronic equipment is originally in the ringing mode during the schedule, the electronic equipment can keep the ringing mode.
If the mute option is selected (either automatically by the electronic device or manually by the user), the electronic device may automatically set the profile to mute mode during the calendar. If the electronic device is not in a silent mode (e.g., may be in a ringer mode) during the calendar, the electronic device may switch the contextual model to the silent mode. If the electronic equipment is originally in the mute mode during the schedule, the electronic equipment can keep the mute mode.
In one possible design, the validation time of the contextual model of the current calendar may be the same as the start time of the current calendar and the expiration time may be the same as the end time of the current calendar. Or, the user can autonomously set the effective time and the dead time of the contextual model of the current schedule. After the contextual model of the current schedule is invalid, the electronic device can automatically restore the contextual model (which can be called as a default contextual model) before the contextual model of the current schedule. The electronic device may prompt the user for the electronic device to revert to the default contextual model.
504. A network mode of the current calendar is determined.
In one possible design, the electronic device may determine the network mode of the current calendar from the network modes of the homogeneous calendar of the current calendar.
In one possible design, the titles of all schedules established by the electronic device and the network modes corresponding to each schedule may be used as a training set to be input into the semantic analysis model Bert (Bidirectional Encoder Representations from Transformer) for training, so as to obtain a network mode prediction model. And then inputting the title of the current schedule into a network mode prediction model, wherein the network mode prediction model can predict the network mode of the current schedule.
Optionally, if the user confirms the network mode of the current schedule predicted by the network mode prediction model, the title and the network mode of the current schedule may be added to the Bert training set (i.e. the training set is updated according to the title and the network mode of the current schedule) to retrain, so as to obtain an updated network mode prediction model. I.e. the network mode prediction model may be iterated continuously to continuously optimize the prediction capabilities of the network mode prediction model.
In one possible design, the titles of all schedules and the contextual models and the network modes corresponding to each schedule established by the electronic device can be used as training sets to be input into the semantic analysis model Bert (Bidirectional Encoder Representations from Transformer) for training, so as to obtain a mode prediction model. And then inputting the title of the current schedule into a mode prediction model, wherein the mode prediction model can predict the contextual model and the network mode of the current schedule.
For example, as shown in table 4, assuming that the title of the current schedule is "the 5 th week working summary example meeting", the similar schedules having the same or similar semantics as the title of the current schedule may include 4 homogeneous schedules whose titles are respectively: "week 1 working summary example meeting", "week 2 working summary example meeting", "week 3 working summary example meeting", "week 4 working summary example meeting". The network modes of the similar schedules are all WLAN network modes, and the network mode of the current schedule can be the same as the network mode of the similar schedules, namely the current schedule can be set as the WLAN network mode.
TABLE 4 Table 4
Figure BDA0003974211700000151
In another possible design, the electronic device may analyze schedule information (e.g., a title of a schedule) of the schedule, determine whether a preset keyword exists in the schedule information of the schedule, and if the preset keyword exists, set a network mode of the schedule to a preset network mode corresponding to the preset keyword.
For example, as shown in table 5, when preset keywords of a regular meeting, conference, seminar, etc. exist in schedule information (e.g., title of schedule) of a schedule, a network mode of the schedule may be set to a preset network mode (e.g., WLAN network mode); when a preset keyword of outdoor, outgoing, or the like is present in schedule information of a schedule (e.g., a title of a schedule), a network mode of the schedule may be set to a preset network mode (e.g., a data network mode).
TABLE 5
Preset keywords Presetting network mode
… for example meeting, conference and seminar WLAN network mode
Outdoor and outdoor … Data network mode
After the electronic device determines the network mode of the current schedule, the user can be reminded to set the network mode for the current schedule, and the electronic device can recommend the network mode applicable to the current schedule to the user. Alternatively, the electronic device may automatically set a network mode for the current calendar. The network mode corresponding to the current schedule may be the same as the same type of schedule.
Alternatively, the user may also manually set or modify the network mode of the current calendar. For example, the user can set the network mode of the current schedule through the network mode setting item of the schedule setting interface (schedule editing interface/schedule newly created interface). I.e. allowing the user to preset the network mode of the handset during the calendar. Illustratively, as shown in (a) of fig. 7, in response to a user operation (e.g., a click operation) of the network mode item 607 of the schedule period, the network mode item 607 of the schedule period may be displayed in an expanded manner, including a constant option, a WLAN option, a flight mode option, a bluetooth option, etc., as shown in (b) of fig. 7. Wherein the invariant option means that the electronic device does not change network mode during the calendar. The WLAN option indicates that the network mode of the electronic device will switch to WLAN network mode during the calendar. The flight mode option indicates that the network mode of the electronic device will switch to the flight mode during the calendar. The bluetooth option indicates that the network mode of the electronic device will switch to bluetooth mode during the calendar. It should be understood that other options may be included in the network mode item 607 of the calendar period or more options may be included, for example, a data network mode may be included, and the present application is not limited thereto.
If the WLAN option is selected (either automatically by the electronic device or manually by the user), the electronic device may automatically set the network mode to the WLAN network mode during the calendar period. If the electronic device is not in the WLAN network mode (e.g., may be in the data network mode) during the calendar, the electronic device may switch the network mode to the WLAN network mode. If the electronic device is originally in the WLAN network mode during the schedule, the electronic device can keep the WLAN network mode.
If the Bluetooth option is selected (either automatically by the electronic device or manually by the user), the electronic device may automatically set the network mode to Bluetooth mode during the calendar. If the Bluetooth mode of the electronic device is off during the schedule, the electronic device can turn on the Bluetooth mode. If the electronic device is originally in the Bluetooth mode during the schedule, the electronic device can keep the Bluetooth mode.
If the flight mode option is selected (either automatically by the electronic device or manually by the user), the electronic device may automatically set the network mode to the flight mode during the calendar. If the flight mode of the electronic device is off during the calendar, the electronic device may turn on the flight mode. If the electronic equipment is originally in the flight mode during the schedule, the electronic equipment can keep the flight mode.
In one possible design, the validation time of the network mode of the current calendar may be the same as the start time of the current calendar and the expiration time may be the same as the end time of the current calendar. Alternatively, the user may autonomously set the effective time and the dead time of the network mode of the current schedule. After the network mode of the current schedule is disabled, the electronic device may automatically resume the network mode (which may be referred to as a default network mode) before the network mode of the current schedule. The electronic device may prompt the user for the electronic device to revert to the default network mode.
It should be noted that, there is no necessary execution sequence between the steps 503 and 504, for example, the step 503 may be executed first, and then the step 504 may be executed. Alternatively, step 504 may be performed before step 503 is performed; alternatively, steps 503 and 504 may be performed simultaneously, and the order of execution between the steps is not particularly limited in this embodiment.
In some embodiments, the electronic device may also determine a power mode of the current schedule. The process of determining the current power mode of the schedule by the electronic device may refer to the process of determining the current contextual model or the network model by the electronic device, which is not described herein. The current schedule power mode may be a power saving mode, an equalization mode, a performance mode, etc.
Illustratively, as shown in (a) of fig. 8, in response to a user operation (e.g., a click operation) of the power mode item 609 of the schedule period, the power mode item 609 of the schedule period may be displayed in an expanded manner, including a constant option, a power saving option, an equalizing option, a performance option, and the like, as shown in (b) of fig. 8. Wherein the invariant option means that the electronic device does not change power mode during the calendar. The power saving option indicates that the power mode of the electronic device will switch to the power saving mode during the calendar period. The equalization option indicates that the power mode of the electronic device will switch to the equalization mode during the calendar. The performance option indicates that the power mode of the electronic device will switch to the performance mode during the calendar. It should be appreciated that other options may be included in the power mode entry 609 for the calendar period or more options may be included, such as super power saving mode, etc., without limitation.
If the power saving option is selected (either automatically by the electronic device or manually by the user), the electronic device may automatically set the power mode to the power saving mode during the calendar period. If the electronic device is not in a power saving mode (e.g., may be in an equalization mode) during the calendar, the electronic device may switch the power mode to the power saving mode. If the electronic device is originally in the power saving mode during the schedule, the electronic device can be kept in the power saving mode. If the equalization option is selected (either automatically by the electronic device or manually by the user), the electronic device may automatically set the power mode to the equalization mode during the calendar. If the electronic device is not in an equalization mode (e.g., may be in an equalization mode) during the calendar, the electronic device may switch the power mode to an equalization mode. If the electronic equipment is originally in the balanced mode during the schedule, the electronic equipment can keep the balanced mode. If the performance option is selected (either automatically by the electronic device or manually by the user), the electronic device may automatically set the power mode to the performance mode during the calendar. If the electronic device is not in the performance mode (e.g., may be in the equalization mode) during the calendar, the electronic device may switch the power mode to the performance mode. If the electronic equipment is originally in the performance mode during the schedule, the electronic equipment can keep the performance mode.
505. The current calendar is synchronized to the other device (second electronic device).
For example, the cell phone may synchronize the current calendar to a second electronic device (notebook or tablet) or the like. The mobile phone, the notebook computer and the tablet computer can be interconnected (connected) through a short-distance communication protocol, wherein the short-distance communication protocol can comprise at least one of Wi-Fi protocol, bluetooth protocol, near field communication NFC protocol or Zigbee protocol.
In the embodiment of the present application, synchronizing the current schedule to the other devices may include: and synchronizing the schedule information of the current schedule, the contextual model, the network model, the power mode and the like corresponding to the current schedule to other equipment. The schedule information of the current schedule may include information such as a title, a place, a start time, an end time, a participant, and the like of the schedule. The schedule information of the current schedule, the contextual model, the network model, the power mode and the like corresponding to the current schedule can be packaged in a schedule file.
Alternatively, note files recorded during the current schedule (e.g., memo files or pictures generated during the schedule, etc.) may also be synchronized to other devices.
Illustratively, as shown in (a) of fig. 9, in response to a user operation (e.g., a click operation) on the multi-device sync item 608, the handset may display a box 610 as shown in (b) of fig. 9. The bullet frame 610 includes a device name that can be synchronized, and may include, for example, magic3, glowing tablet 8, glowing smart screen, magicboost V14, and the like. More device names may be included in the bullet box 610, which is not limited in this application. In response to the user clicking on the glowing tablet 8 in the bullet box 610, the cell phone may synchronize the current calendar to the tablet (glowing tablet 8).
In one possible design, a user may set up automatic synchronization of schedules between multiple devices. The triggering condition for automatic synchronization may be based on a time trigger, e.g., a calendar may be synchronized once a day. Alternatively, the triggering condition of the automatic synchronization may be triggered based on a preset operation, for example, the schedule synchronization is triggered every time the user modifies the schedule. In this way, the schedule on one device (source device, e.g., mobile phone) can be automatically synchronized to other devices (peer devices, e.g., tablet computer or PC, etc.), without requiring manual operation by the user, and user experience can be improved.
506. Optionally, when the schedule reminding time arrives, the electronic device sends a schedule reminding to the user.
The electronic device monitors the schedule reminding time, and when the schedule reminding time arrives, the electronic device sends out a schedule reminding to the user (the notification can be popped up, a banner notification is displayed in notification management, and the notification can also ring, vibrate and the like).
For example, as shown in fig. 10, the handset may display a notification message 1001 of a schedule in a drop-down notification management interface, and the notification message 1001 may include a title "XXX meeting" of the schedule, time "3 pm in the present day: 30 to 4:30 pm, the location of the schedule is "floor 1, 25 meeting room". A later alert button and a no-longer alert button may also be included in notification message 1001.
Optionally, a calendar profile reminder "will switch to silent mode at that time" may also be included in notification message 1001. Optionally, a network mode reminder of the calendar (e.g., "switch to WLAN network mode at that time", not shown in fig. 10) and a power mode reminder of the calendar (e.g., "switch to power saving mode at that time", not shown in fig. 10) may also be included in notification message 1001. Therefore, before the schedule starts, a user can know the contextual model, the network model, the power mode and the like of the electronic equipment during the schedule without entering the schedule management application to check, and the user experience can be improved.
After the mobile phone synchronizes the schedule to the notebook or tablet computer, the notebook or tablet computer can also send a schedule reminder (pop-up banner notification, display notification in notification management, etc.) to the user. For example, as shown in fig. 11 (a), the tablet computer may display a notification message 1102 of a schedule synchronized from the cell phone in a pull-down notification interface 1101. As shown in (b) of fig. 11, the notebook computer may display a notification message 1104 of a schedule synchronized from the cellular phone at the notification management interface 1103.
507. When the schedule starting time arrives, the devices are simultaneously switched to the contextual model, the network model and the power mode corresponding to the current schedule.
When the schedule start time arrives (i.e., when the schedule starts), a plurality of devices (e.g., a mobile phone, a tablet computer, and a PC) synchronized with the schedule switch to a scenario mode, a network mode, and a power mode corresponding to the current schedule at the same time.
For example, taking the current schedule as the XX conference as an example, the mobile phone can synchronize the schedule of the XX conference to the tablet personal computer and the PC, the contextual model corresponding to the current schedule can be a mute model, the network model corresponding to the current schedule can be a WLAN network model, the power mode corresponding to the current schedule can be a power saving model, and when the starting time of the current schedule arrives, that is, when the XX conference starts, the mobile phone, the tablet personal computer and the PC can be switched to the mute model, the WLAN network model and the power saving model. In this way, in the XX conference process, the electronic equipment is in a mute mode, and the conference order is not disturbed due to the ring tone playing. In addition, in the XX conference process, the electronic devices can be in a WLAN network mode and can be connected with Wi-Fi of a conference place, so that the user can conveniently surf the Internet. In addition, in the XX conference process, the electronic devices can be in a power saving mode, so that power consumption is saved. For the contextual models, the network modes and the power modes of the plurality of devices, the user is not required to set the contextual models, the network modes and the power modes manually one by one, so that the user operation can be simplified, and the user experience can be improved.
In the embodiment of the present application, the electronic device switches to a contextual model corresponding to the current schedule, which may be that the schedule management application invokes a contextual model interface function, and writes parameters of the contextual model corresponding to the current schedule into a register indicating the current contextual model. And may keep the previous profile in memory. The mode of switching the electronic device to the network mode and the power mode corresponding to the current schedule can refer to the mode of switching the contextual model corresponding to the current schedule by the electronic device.
508. And after the schedule is finished, the devices restore the contextual model, the network model and the power mode before the current schedule.
After the schedule is finished, each device in the plurality of devices (such as a mobile phone, a tablet computer and a PC) synchronized with the schedule respectively resumes the contextual model, the network model and the power mode of the device before the schedule starts.
The electronic device resumes the previous contextual model, which may be that the calendar management application invokes the contextual model interface function, reads parameters in the memory indicating the previous contextual model, and writes the parameters of the previous contextual model into a register indicating the current contextual model. The mode of the electronic device for recovering the network mode and the power mode corresponding to the current schedule can refer to the mode of the electronic device for recovering the contextual model corresponding to the current schedule.
Based on the method provided by the embodiment of the application, the electronic device (for example, a mobile phone) can synchronize the schedule to other devices (for example, a tablet computer and a PC), and the synchronization of the schedule to the other devices can include synchronization of the schedule information of the current schedule, the contextual model, the network model, the power mode and the like corresponding to the current schedule to the other devices. Therefore, a user does not need to manually set the contextual model, the network model, the power mode and the like of a plurality of devices one by one, the user operation can be simplified, and the user experience is improved.
The process of establishing interconnection between the mobile phone and the tablet computer/PC by the short-range communication protocol is described in detail below, as shown in fig. 12, where the process includes:
1201. and the cooperative service module of the mobile phone sends a device interconnection request to the communication service module of the mobile phone.
For example, in response to a user operating a network switch (e.g., bluetooth switch, wi-Fi switch, hotspot switch, etc.) of the mobile phone, the collaboration service module of the mobile phone may send a device interconnection request to the communication service module of the mobile phone. The device interconnect request is for requesting a connection to be established with other devices (e.g., tablet/PC). The device interconnection request may also be referred to as a connection request, an interconnection request, etc., and is not limited in this application.
The device interconnection request may include device authentication (identification) information and authorization (authorization) request information, among others. I.e. the co-service module of the handset may initiate device authentication (identification) and authorization (authorization) requests.
The device authentication information includes a device identifier, a user name (user account), a password, and the like, and the user name and the password can be encrypted and encoded. The authorization request information may include information for requesting communication rights (e.g., establishing connection rights) and operation rights (e.g., file transfer rights).
1202. And the communication service module of the mobile phone sends a device interconnection request to the communication service module of the tablet computer/PC.
1203. The communication service module of the tablet computer/PC sends a device interconnection request to the cooperative service module of the tablet computer/PC.
1204. The co-service module of the tablet computer/PC verifies the device interconnection request.
In one possible design, after receiving the device interconnection request, the collaboration service module of the tablet computer/PC may analyze the device interconnection request, compare the device identifier, the user name and the password obtained by analysis with the database, and determine that the device authentication is successful if the database stores the device identifier, the user name and the password obtained by analysis.
In another possible design, after the co-service module of the tablet computer/PC receives the device interconnection request, the device interconnection request may be parsed, and the user may be prompted according to the device identifier (the device identifier of the mobile phone) that the mobile phone currently wants to establish a connection with the tablet computer/PC, and the user may determine that the device authentication is successful in response to the user agreeing to the operation of establishing the connection.
1205. The collaborative service module of the tablet computer/PC sends a device interconnection response to the communication service module of the tablet computer/PC.
After the cooperative service module of the tablet computer/PC determines that the equipment authentication is successful, an equipment interconnection response can be sent to the mobile phone through the communication service module of the tablet computer/PC. The device interconnect response is used to indicate that the tablet/PC agrees to establish a connection with the handset. The device interconnect response may also be referred to as a connection response, an interconnect response, etc., and is not limited in this application.
1206. The communication service module of the tablet computer/PC sends a device interconnection response to the communication service module of the mobile phone.
1207. And the communication service module of the mobile phone sends a device interconnection response to the cooperative service module of the mobile phone.
In this way, the cell phone and tablet/PC can successfully establish a connection and can communicate with each other (e.g., transfer messages and files).
Taking the process of synchronizing the current schedule to the tablet computer/PC by the mobile phone in step 505, as shown in fig. 13, the following details are described, including:
1301. creating a new schedule, importing a schedule or modifying a schedule through a schedule management application of the mobile phone.
Specific procedures may refer to the related description of step 501, which is not described herein.
1302. The calendar management application of the mobile phone informs the state management system of the mobile phone to switch the mode of the electronic equipment when the calendar starts.
Modes of the electronic device may include a profile, a network mode, and a power mode. Various sub-modes of the profile, network mode and power mode may be referred to the above related description, and will not be described herein.
The state management system of the mobile phone can switch the mode of the electronic device at the beginning of the schedule.
1303. The mobile phone schedule management application sends a schedule file sharing request to a mobile phone collaborative service module.
Responding to the operation of sharing the schedule to the tablet personal computer or the PC by the user, and sending a schedule file sharing request to a communication service module of the mobile phone by a schedule management application of the mobile phone. The schedule file sharing request is used for requesting to share the schedule file.
1304. And the cooperative service module of the mobile phone sends an authentication request to the communication service module of the mobile phone.
After receiving the schedule file sharing request, the collaboration service application of the mobile phone determines that file transmission with the destination end is required, and can authenticate the destination end (tablet computer or PC). The cooperative service application of the mobile phone can send an authentication request to the tablet computer or the PC through a communication service module of the mobile phone, wherein the authentication request comprises information such as a user name, a password, an access right, a transmission protocol, key information and the like.
1305. The communication service module of the mobile phone sends an authentication request to the communication service module of the tablet computer/PC.
1306. The communication service module of the tablet computer/PC sends an authentication request to the cooperative service module of the tablet computer/PC.
1307. The co-service module of the tablet computer/PC verifies the authentication request.
After receiving the authentication request, the tablet computer/PC cooperative service module analyzes the authentication request, performs authenticity authentication on the information obtained by analysis and the database, and can send an authentication result to the tablet computer/PC through the communication service module of the tablet computer/PC after the authentication is successful. The authentication result contains authentication confirmation information, and the authentication confirmation information comprises information such as a user name and the like.
1308. And the cooperative service module of the tablet personal computer/PC sends an authentication result to the communication service module of the tablet personal computer/PC.
1309. And the communication service module of the tablet personal computer/PC sends an authentication result to the communication service module of the mobile phone.
1310. And the communication service module of the mobile phone sends an authentication result to the cooperative service module of the mobile phone.
1311. And the cooperative service module of the mobile phone sends an authentication result to the schedule management application of the mobile phone.
1312. The schedule management application of the mobile phone sends a schedule file to the cooperative service module of the mobile phone.
The schedule file comprises schedule information of schedules, and information such as a contextual model, a network model, a power supply model and the like corresponding to the schedules. The schedule information of the schedule may include a schedule name, a schedule start time, a schedule end time, and the like.
1313. And the cooperative service module of the mobile phone sends the schedule file to the communication service module of the mobile phone.
1314. The communication service module of the mobile phone sends schedule files to the communication service module of the tablet computer/PC.
1315. The communication service module of the tablet computer/PC sends the schedule file to the cooperative service module of the tablet computer/PC.
1316. The collaboration service module of the tablet computer/PC sends the calendar file to the calendar management application of the tablet computer/PC.
1317. The calendar management application of the tablet personal computer/PC analyzes the calendar file and creates a new calendar according to the analyzed calendar file.
1318. The calendar management application of the tablet computer/PC notifies the state management system of the tablet computer/PC to switch modes of the electronic device at the beginning of the calendar.
1319. The state management system of the tablet computer/PC switches modes of the electronic device at the beginning of the calendar.
In this way, an electronic device (e.g., a cell phone) may synchronize a calendar to other devices (e.g., a tablet and a PC), and synchronizing a calendar to other devices may include synchronizing calendar information of a current calendar and a profile, a network mode, a power mode, and the like corresponding to the current calendar to other devices. Therefore, a user does not need to manually set the contextual model, the network model, the power mode and the like of a plurality of devices one by one, the user operation can be simplified, and the user experience is improved.
Embodiments of the present application also provide a chip system, as shown in fig. 14, comprising at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 may be interconnected by wires. For example, interface circuit 1402 may be used to receive signals from other devices (e.g., a memory of an electronic apparatus). For another example, interface circuit 1402 may be used to send signals to other devices (e.g., processor 1401).
For example, the interface circuit 1402 may read instructions stored in a memory in the electronic device and send the instructions to the processor 1401. The instructions, when executed by processor 1401, may cause an electronic device (such as electronic device 100 shown in fig. 4) to perform the various steps of the embodiments described above.
Of course, the chip system may also include other discrete devices, which are not specifically limited in this embodiment of the present application.
Embodiments of the present application also provide a computer-readable storage medium including computer instructions that, when executed on an electronic device (such as electronic device 100 shown in fig. 4), cause electronic device 100 to perform the functions or steps performed by the electronic device in the above-described method embodiments.
Embodiments of the present application also provide a computer program product, which when run on a computer, causes the computer to perform the functions or steps performed by the electronic device in the method embodiments described above.
The embodiment of the application also provides a device, which can be divided into different logic units or modules according to functions, and each unit or module executes different functions, so that the device executes each function or step executed by the electronic equipment in the embodiment of the method.
From the description of the above embodiments, it will be apparent to those skilled in the art that the above functional allocation may be performed by different functional modules, i.e., the internal structure of the apparatus is divided into different functional modules, as needed, to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (34)

1. A schedule-based device state synchronization system, the schedule-based device state synchronization system being a communication system including a first electronic device and a second electronic device, comprising:
the first electronic equipment is used for displaying a schedule operation interface, wherein the schedule operation interface comprises schedule information of a first schedule, the schedule information at least comprises a schedule title and schedule time, and the schedule time comprises schedule starting time;
the first electronic device is further configured to determine a mode corresponding to the first schedule, where the mode corresponding to the first schedule includes at least one of a contextual model, a network model, and a power mode;
the first electronic device is further configured to send schedule information of the first schedule and a mode corresponding to the first schedule to a second electronic device;
The second electronic equipment is used for receiving schedule information of the first schedule and a mode corresponding to the first schedule;
when the schedule starting time of the first schedule arrives, the first electronic device and the second electronic device are used for switching to at least one of a contextual model, a network model and a power mode corresponding to the first schedule.
2. The system of claim 1, wherein the calendar time further comprises a calendar end time,
when the schedule end time arrives, the first electronic device is used for recovering at least one of a contextual model, a network model and a power mode of the first electronic device before the first schedule starts; the second electronic device is configured to restore at least one of a profile, a network mode, and a power mode of the second electronic device before the first date starts.
3. The system of claim 1 or 2, wherein the first electronic device is further configured to determine a mode corresponding to the first day, including:
the first electronic equipment is used for carrying out semantic analysis on schedule information of the first schedule and determining similar schedules of the first schedule according to semantic analysis results;
The first electronic device is configured to determine a mode corresponding to the first schedule according to a mode corresponding to the similar schedule, where the mode corresponding to the similar schedule includes at least one of a contextual model, a network model, and a power mode.
4. The system of claim 3, wherein the first electronic device is configured to perform semantic analysis on schedule information of the first schedule, and determine a homogeneous schedule of the first schedule according to a result of the semantic analysis, including:
the first electronic equipment is used for carrying out semantic analysis according to the title of the first schedule;
if N schedules exist in the established schedules of the first electronic equipment, the semantics of the schedule titles of the N schedules are the same as or similar to those of the schedules of the first schedules, and the N schedules are similar schedules of the first schedules; wherein N is an integer greater than or equal to 1.
5. The system of claim 3, wherein the first electronic device is configured to,
and inputting titles and corresponding contextual models of all schedules established by the first electronic equipment as training sets into a semantic analysis model Bert for training to obtain a contextual model prediction model.
6. The system of claim 5, wherein the first electronic device is configured to,
and inputting the title of the first schedule into the contextual model prediction model to obtain the contextual model corresponding to the first schedule.
7. The system of claim 6, wherein the system further comprises a controller configured to control the controller,
and if the user confirms the contextual model corresponding to the first schedule, adding the title of the first schedule and the contextual model corresponding to the first schedule into the training set of the semantic analysis model Bert for retraining to obtain an updated contextual model prediction model.
8. The system of claim 3, wherein the system further comprises a controller configured to control the controller,
the schedule information also comprises at least one of schedule places, meeting participants and remark information.
9. The system of claim 1 or 2, wherein the first electronic device is further configured to determine a mode corresponding to the first day, including:
the first electronic device is used for determining whether a preset keyword exists in a title of the first schedule;
if the title of the first schedule has a preset keyword, the mode of the first schedule is a preset mode corresponding to the preset keyword, and the preset mode comprises at least one of a preset contextual model, a preset network model and a preset power mode.
10. The system of claim 1 or 2, wherein the first electronic device is further configured to determine a mode corresponding to the first day, including:
the first electronic equipment is used for determining a mode corresponding to the first schedule according to the type of the first schedule;
wherein the first schedule type includes at least one of a work schedule, a learning schedule, and an entertainment schedule.
11. The system according to claim 1 or 2, wherein,
the contextual model comprises at least one of a ringing mode, a mute mode and a vibration mode;
the power mode includes at least one of a power saving mode, an equalization mode, and a performance mode;
the network mode includes at least one of a data network mode, a wireless local area network WLAN network mode, an airplane mode, and a bluetooth mode.
12. The system of claim 10, wherein the system further comprises a controller configured to control the controller,
when the type of the first schedule is a working schedule, the contextual model corresponding to the first schedule is a mute model; when the type of the first schedule is a learning schedule, the contextual model of the first schedule is a vibration model; when the type of the first schedule is entertainment schedule, the contextual model of the first schedule is ringing model.
13. The system according to claim 1 or 2, wherein,
the first electronic device is configured to interconnect with the second electronic device through a short-range communication protocol, where the short-range communication protocol includes at least one of a Wi-Fi protocol, a bluetooth protocol, a near field communication NFC protocol, or a Zigbee protocol.
14. The system of claim 1 or 2, wherein the calendar information further comprises a calendar reminder time, the method further comprising:
when the schedule reminding time arrives, the first electronic device is used for sending out schedule reminding to the user.
15. The system of claim 14, wherein the first electronic device issuing a calendar reminder to a user comprises:
the first electronic device is configured to display a first notification message, where the first notification message includes first information, and the first information is configured to indicate a mode corresponding to the first date.
16. The system according to claim 1 or 2, wherein,
the schedule operation interface comprises a schedule newly-built interface or a schedule editing interface.
17. A method for synchronizing device states based on schedules, comprising:
the first electronic equipment displays a schedule operation interface, wherein the schedule operation interface comprises schedule information of a first schedule, the schedule information at least comprises a schedule title and schedule time, and the schedule time comprises schedule starting time;
The first electronic device determines a mode corresponding to the first schedule, wherein the mode corresponding to the first schedule comprises at least one of a contextual model, a network model and a power mode;
the first electronic equipment synchronizes schedule information of the first schedule and a mode corresponding to the first schedule to the second electronic equipment;
when the schedule starting time of the first schedule arrives, the first electronic equipment is switched to at least one of a contextual model, a network model and a power supply model corresponding to the first schedule.
18. The method of claim 17, wherein the calendar time further comprises a calendar end time, the method further comprising:
when the schedule end time arrives, the first electronic device resumes at least one of a contextual model, a network model and a power mode of the first electronic device before the first schedule starts; and the second electronic equipment restores at least one of a contextual model, a network model and a power mode of the second electronic equipment before the first schedule starts.
19. The method of claim 17 or 18, wherein the first electronic device determining the mode corresponding to the first day comprises:
The first electronic equipment performs semantic analysis on schedule information of the first schedule, and determines similar schedules of the first schedule according to semantic analysis results;
the first electronic device determines a mode corresponding to the first schedule according to a mode corresponding to the similar schedule, wherein the mode corresponding to the similar schedule comprises at least one of a contextual model, a network model and a power mode.
20. The method of claim 19, wherein the first electronic device performs semantic analysis on the schedule information of the first schedule, and determining a homogeneous schedule of the first schedule according to a result of the semantic analysis, comprising:
the first electronic equipment performs semantic analysis according to the title of the first schedule;
if N schedules exist in the established schedules of the first electronic equipment, the semantics of the schedule titles of the N schedules are the same as or similar to those of the schedules of the first schedules, and the N schedules are similar schedules of the first schedules; wherein N is an integer greater than or equal to 1.
21. The method of claim 19, wherein the first electronic device
And inputting titles and corresponding contextual models of all schedules established by the first electronic equipment as training sets into a semantic analysis model Bert for training to obtain a contextual model prediction model.
22. The method of claim 21, wherein the first electronic device
And inputting the title of the first schedule into the contextual model prediction model to obtain the contextual model corresponding to the first schedule.
23. The method of claim 22, wherein the step of determining the position of the probe is performed,
and if the user confirms the contextual model corresponding to the first schedule, adding the title of the first schedule and the contextual model corresponding to the first schedule into the training set of the semantic analysis model Bert for retraining to obtain an updated contextual model prediction model.
24. The method of claim 19, wherein the step of determining the position of the probe comprises,
the schedule information also comprises at least one of schedule places, meeting participants and remark information.
25. The method of claim 17 or 18, wherein the first electronic device determining the mode corresponding to the first day comprises:
the first electronic device determines whether a preset keyword exists in a title of the first schedule;
if the title of the first schedule has a preset keyword, the mode of the first schedule is a preset mode corresponding to the preset keyword, and the preset mode comprises at least one of a preset contextual model, a preset network model and a preset power mode.
26. The method of claim 17 or 18, wherein the first electronic device determining the mode corresponding to the first day comprises:
the first electronic equipment determines a mode corresponding to the first schedule according to the type of the first schedule;
wherein the first schedule type includes at least one of a work schedule, a learning schedule, and an entertainment schedule.
27. The method according to claim 17 or 18, wherein,
the contextual model comprises at least one of a ringing mode, a mute mode and a vibration mode;
the power mode includes at least one of a power saving mode, an equalization mode, and a performance mode;
the network mode includes at least one of a data network mode, a wireless local area network WLAN network mode, an airplane mode, and a bluetooth mode.
28. The method of claim 26, wherein the step of determining the position of the probe is performed,
when the type of the first schedule is a working schedule, the contextual model corresponding to the first schedule is a mute model; when the type of the first schedule is a learning schedule, the contextual model of the first schedule is a vibration model; when the type of the first schedule is entertainment schedule, the contextual model of the first schedule is ringing model.
29. The method according to claim 17 or 18, wherein,
the first electronic device is interconnected with the second electronic device through a short-range communication protocol, wherein the short-range communication protocol comprises at least one of Wi-Fi protocol, bluetooth protocol, near field communication NFC protocol or Zigbee protocol.
30. The method of claim 17 or 18, wherein the calendar information further comprises a calendar reminder time, the method further comprising:
and when the schedule reminding time arrives, the first electronic equipment sends out a schedule reminding to a user.
31. The method of claim 30, wherein the first electronic device issuing a calendar reminder to a user comprises:
the first electronic device displays a first notification message, wherein the first notification message comprises first information, and the first information is used for indicating a mode corresponding to the first date.
32. The method according to claim 17 or 18, wherein,
the schedule operation interface comprises a schedule newly-built interface or a schedule editing interface.
33. A first electronic device, wherein the first electronic device comprises a display screen, a processor, and a memory; the memory stores program instructions; the processor is configured to execute the program instructions stored in the memory, to cause the first electronic device to perform the method of any one of claims 17-32.
34. A computer readable storage medium comprising program instructions which, when run on a first electronic device, cause the first electronic device to perform the method of any of claims 17-32.
CN202211530413.1A 2022-11-30 2022-11-30 Schedule-based equipment state synchronization system, method and device Active CN116233304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211530413.1A CN116233304B (en) 2022-11-30 2022-11-30 Schedule-based equipment state synchronization system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211530413.1A CN116233304B (en) 2022-11-30 2022-11-30 Schedule-based equipment state synchronization system, method and device

Publications (2)

Publication Number Publication Date
CN116233304A true CN116233304A (en) 2023-06-06
CN116233304B CN116233304B (en) 2024-04-05

Family

ID=86588028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211530413.1A Active CN116233304B (en) 2022-11-30 2022-11-30 Schedule-based equipment state synchronization system, method and device

Country Status (1)

Country Link
CN (1) CN116233304B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022465A (en) * 2007-03-30 2007-08-22 华为技术有限公司 Terminal scene mode switching method and terminal
CN103167117A (en) * 2012-06-19 2013-06-19 深圳市金立通信设备有限公司 System and method for automatically setting contextual model of mobile phone based on schedule management
CN103491247A (en) * 2013-09-12 2014-01-01 上海摩软通讯技术有限公司 Method and system for switching contextual models based on schedules
CN104580738A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Method and device for setting information reminding modes
CN106453953A (en) * 2016-11-24 2017-02-22 维沃移动通信有限公司 Wireless access point connection method and mobile terminal
CN107197103A (en) * 2017-07-06 2017-09-22 三星电子(中国)研发中心 The power saving progress control method and device of intelligent terminal
CN112084338A (en) * 2020-09-18 2020-12-15 达而观数据(成都)有限公司 Automatic document classification method, system, computer equipment and storage medium
CN112468653A (en) * 2020-11-30 2021-03-09 维沃移动通信有限公司 Schedule reminding method and wearable electronic equipment
US20210092222A1 (en) * 2019-09-19 2021-03-25 Lg Electronics Inc. Device and method for suggesting action item
CN112948550A (en) * 2021-02-04 2021-06-11 维沃移动通信有限公司 Schedule creating method and device and electronic equipment
CN114220175A (en) * 2021-12-17 2022-03-22 广州津虹网络传媒有限公司 Motion pattern recognition method, motion pattern recognition device, motion pattern recognition apparatus, motion pattern recognition medium, and motion pattern recognition product

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022465A (en) * 2007-03-30 2007-08-22 华为技术有限公司 Terminal scene mode switching method and terminal
CN103167117A (en) * 2012-06-19 2013-06-19 深圳市金立通信设备有限公司 System and method for automatically setting contextual model of mobile phone based on schedule management
CN103491247A (en) * 2013-09-12 2014-01-01 上海摩软通讯技术有限公司 Method and system for switching contextual models based on schedules
CN104580738A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Method and device for setting information reminding modes
CN106453953A (en) * 2016-11-24 2017-02-22 维沃移动通信有限公司 Wireless access point connection method and mobile terminal
CN107197103A (en) * 2017-07-06 2017-09-22 三星电子(中国)研发中心 The power saving progress control method and device of intelligent terminal
US20210092222A1 (en) * 2019-09-19 2021-03-25 Lg Electronics Inc. Device and method for suggesting action item
CN112084338A (en) * 2020-09-18 2020-12-15 达而观数据(成都)有限公司 Automatic document classification method, system, computer equipment and storage medium
CN112468653A (en) * 2020-11-30 2021-03-09 维沃移动通信有限公司 Schedule reminding method and wearable electronic equipment
CN112948550A (en) * 2021-02-04 2021-06-11 维沃移动通信有限公司 Schedule creating method and device and electronic equipment
CN114220175A (en) * 2021-12-17 2022-03-22 广州津虹网络传媒有限公司 Motion pattern recognition method, motion pattern recognition device, motion pattern recognition apparatus, motion pattern recognition medium, and motion pattern recognition product

Also Published As

Publication number Publication date
CN116233304B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
WO2020211733A1 (en) Bluetooth connection method, device and system
CN110166820B (en) Audio and video playing method, terminal and device
US20230021994A1 (en) Cross-Device Content Projection Method and Electronic Device
CN111628916B (en) Method for cooperation of intelligent sound box and electronic equipment
WO2021043045A1 (en) Method and device for configuring network configuration information
WO2021185141A1 (en) Wi-fi aware link establishment method and system, electronic device, and storage medium
EP3923617A1 (en) Method for reducing power consumption of mobile terminal and mobile terminal
WO2021104104A1 (en) Energy-efficient display processing method, and apparatus
WO2021037146A1 (en) File sharing method and device for mobile terminal
WO2020216098A1 (en) Method for providing forwarding service across electronic apparatuses, apparatus, and system
WO2021233161A1 (en) Family schedule fusion method and apparatus
JP7416519B2 (en) Multi-terminal multimedia data communication method and system
WO2022135157A1 (en) Page display method and apparatus, and electronic device and readable storage medium
WO2022088964A1 (en) Control method and apparatus for electronic device
WO2020034075A1 (en) Photo sharing method and electronic device
WO2023072139A1 (en) Audio playing method, and electronic device and system
CN116233304B (en) Schedule-based equipment state synchronization system, method and device
WO2021218544A1 (en) Wireless connection providing system, method, and electronic apparatus
WO2021110117A1 (en) Event subscription method and electronic device
CN115083401A (en) Voice control method and device
WO2022188812A1 (en) Method for synchronizing software features between devices, and electronic device
WO2022007750A1 (en) Screen sharing method, terminal, and storage medium
EP4310664A1 (en) Audio output method, media file recording method, and electronic device
CN114398320A (en) Distributed data searching method and index file sharing method
CN115695445A (en) Data synchronization method, terminal and system

Legal Events

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