CN113434061A - Method and device for realizing application entry in dial plate, intelligent watch and storage medium - Google Patents

Method and device for realizing application entry in dial plate, intelligent watch and storage medium Download PDF

Info

Publication number
CN113434061A
CN113434061A CN202110633945.7A CN202110633945A CN113434061A CN 113434061 A CN113434061 A CN 113434061A CN 202110633945 A CN202110633945 A CN 202110633945A CN 113434061 A CN113434061 A CN 113434061A
Authority
CN
China
Prior art keywords
application
control
task
entry
application entry
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.)
Pending
Application number
CN202110633945.7A
Other languages
Chinese (zh)
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.)
DO Technology Co ltd
Original Assignee
DO Technology 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 DO Technology Co ltd filed Critical DO Technology Co ltd
Priority to CN202110633945.7A priority Critical patent/CN113434061A/en
Publication of CN113434061A publication Critical patent/CN113434061A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a method and a device for realizing an application entry in a dial plate, an intelligent watch and a storage medium. The method comprises the following steps: reading a dial plate package from a memory, and creating an application entry control in an intelligent watch screen according to the dial plate package; when receiving a click operation of a user on an application entry control, generating an application entry task, and adding the application entry task into a main task queue; and reading the application entering task from the main task queue and executing the application entering task. Therefore, the user can enter the corresponding application through the application entrance control, so that the corresponding information can be acquired, and the user experience is improved. When the clicking operation of a user on the application entrance control is received, an application entry task is generated, the application entry task is added into a main task queue, and then the application entry task is read from the main task queue and executed. This facilitates a modular, templated design of the dial packet.

Description

Method and device for realizing application entry in dial plate, intelligent watch and storage medium
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a method and a device for realizing an application entry in a dial plate, an intelligent watch and a storage medium.
Background
People often view historical, present, and future information on computers, mobile terminals. The historical information may be, for example, the outcome of a game at a sporting event. The current information may be information of a news conference being held, a product conference, and the like. The future information may be weather forecasts, etc. for days or hours in the future.
However, some wearable devices (e.g., watches) may have a limited size display screen, making it impractical for the wearable device to display large amounts of information, but it is still desirable to conveniently obtain such information through such small-sized devices.
Disclosure of Invention
In view of this, an object of the present application is to provide a method and an apparatus for implementing an application entry in a dial, an intelligent watch, and a storage medium, by which people can enter a corresponding application through an application entry control in the dial of the intelligent watch, so that people can obtain corresponding information, thereby improving user experience.
The application provides a method for realizing an application entry in a dial plate in a first aspect, and the method comprises the following steps: reading a dial plate package from a memory, and creating an application entry control in an intelligent watch screen according to the dial plate package; when receiving a click operation of a user on an application entry control, generating an application entry task, and adding the application entry task into a main task queue; and reading the application entering task from the main task queue and executing the application entering task. Therefore, the user can enter the corresponding application through the application entrance control, and corresponding information can be acquired. Meanwhile, when the clicking operation of the user on the application inlet control is received, an application entering task is generated, the application entering task is added into the main task queue, the application entering task is read from the main task queue and executed, the application entering task is not directly jumped to the application corresponding to the application inlet control when the clicking operation of the user on the application inlet control is received, the modularization and the templating design of the dial plate package are facilitated, and the firmware versions of different devices can be matched.
With reference to the first aspect, in a possible implementation manner, the dial plate package includes a description file and an icon of the application entry control, the description file includes a keyword and a control attribute associated with an application name, and the step of creating the application entry control includes: searching an icon corresponding to the application entry control from the dial packet according to the keyword; and displaying the icon on the screen of the intelligent watch according to the control attribute.
With reference to the first aspect, in one possible implementation manner, the control attribute includes a position of the application entry control in the smart watch screen and a width and a height of the application entry control.
With reference to the first aspect, in a possible implementation manner, the step of generating the application entry task includes: and generating an application entry task of the associated application according to the keyword.
With reference to the first aspect, in a possible implementation manner, the application entry task includes API interface information, where the API interface information includes an ID corresponding to a user interface of the application program, and executing the application entry task includes: and jumping to the corresponding application program user interface according to the ID of the application program user interface.
With reference to the first aspect, in a possible implementation manner, the step of executing the application entry task includes: and executing the application entering task according to the control message callback event.
This application second aspect provides an use entry realization device in dial plate, is applied to intelligent wrist-watch, and the device includes: the dial plate loading module is used for reading the dial plate package from the memory and creating an application entry control in the intelligent watch screen according to the dial plate package; the control event processing module is used for generating an application entry task when receiving a click operation of a user on an application entry control, and adding the application entry task into a main task queue; and the main task processing module is used for reading the application entry task from the main task queue and executing the application entry task.
With reference to the second aspect, in a possible implementation manner, the dial plate package includes a description file and an icon of the application entry control, the description file includes a keyword associated with the application name and a control attribute, and the dial plate loading module is specifically configured to search for the icon corresponding to the application entry control from the dial plate package according to the keyword, and display the icon on the smart watch screen according to the control attribute.
With reference to the second aspect, in one possible implementation manner, the control attribute includes a position of the application portal control in the smart watch screen and a width and a height of the application portal control.
With reference to the second aspect, in a possible implementation manner, the control event processing module is specifically configured to generate an application entry task of the associated application according to the keyword.
With reference to the second aspect, in a possible implementation manner, the application entry task includes API interface information, where the API interface information includes an ID corresponding to the application user interface, and the main task processing module is specifically configured to jump to the corresponding application user interface according to the ID of the application user interface.
With reference to the second aspect, in a possible implementation manner, the control event processing module is specifically configured to execute an application entry task according to a control message callback event.
A third aspect of the present application provides a smart watch, including a processor and a memory, where the memory stores a computer program capable of being executed by the processor, and the computer program, when executed by the processor, implements a method for implementing an application portal in a watch dial according to any one of the possible implementations of the first aspect to the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method for implementing an application portal in a dial plate as in any one of the possible implementations of the first aspect to the first aspect.
The application provides a method and a device for realizing an application entry in a dial plate, an intelligent watch and a storage medium. The method comprises the following steps: reading a dial plate package from a memory, and creating an application entry control in an intelligent watch screen according to the dial plate package; when receiving a click operation of a user on an application entry control, generating an application entry task, and adding the application entry task into a main task queue; and reading the application entering task from the main task queue and executing the application entering task. Therefore, the user can enter the corresponding application through the application entrance control, so that the corresponding information can be acquired, and the user experience is improved. Meanwhile, when the clicking operation of the user on the application inlet control is received, the application entering task is generated, the application entering task is added into the main task queue, the application entering task is read from the main task queue and executed, and the user does not directly jump to the application corresponding to the application inlet control when the clicking operation of the user on the application inlet control is received, so that the modularization and the templating design of the dial packet are facilitated, and the firmware versions of different devices can be matched.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1a is a schematic view of a dial plate of an intelligent watch provided in an embodiment of the present application;
fig. 1b is a schematic diagram of a heart rate application of a smart watch according to an embodiment of the present application;
fig. 1c is a schematic diagram of a step counting application of a smart watch according to an embodiment of the present application;
fig. 2 is a functional block diagram of a smart watch according to an embodiment of the present application;
fig. 3 is a flowchart of a method for implementing an application entry in a dial plate according to an embodiment of the present application;
fig. 4 is another flowchart of an implementation method of an application entry in a dial plate according to an embodiment of the present application;
fig. 5 is a scene diagram of a click operation of a user in an application portal control according to an embodiment of the present application;
fig. 6 is a flowchart of a method for creating an application entry control according to an embodiment of the present application;
fig. 7 is another flowchart of an implementation method of an application entry in a dial plate according to an embodiment of the present application;
fig. 8 is a scene diagram of a continuous clicking operation performed by a user in an application portal control within a preset time according to an embodiment of the present application;
fig. 9 is a functional block diagram of an application entry implementing device in a dial according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The terms of art referred to in this application are explained first:
dial plate: is located on the smart watch screen for displaying a specific layout of application portal controls. A smart watch may have one or more dials for use.
Application of the portal control: are components on the dial that are used to characterize different functions. Such as date, weather, time, atmospheric pressure, calendar information, etc. The particular application portal control corresponds to a particular application on the smart watch. The user may perform an operation, such as touch, click, etc., on the smart watch, and the application portal control generates an operation response. When the user clicks on an application entry control, the display interface of the smart watch screen may jump to an application corresponding to the application entry control.
Application (application): refer to the application in the smart watch. Such as a heart rate detection function application, a step count statistics application, a time application, etc.
And (4) dial plate wrapping: is a data packet containing the description information of the application entry control and the icon. The description information may include a position, a width and a height of the application entry control in the dial plate, and an application name corresponding to the application entry control. The smart watch may create the application entry control according to the dial packet after acquiring the dial packet.
The procedure is as follows: is an ordered collection of instructions and data, which has no operational meaning per se, is a static concept and can be stored in memory as a software material for a long time.
And (4) process: is a program execution process and is a dynamic concept. Has a certain life cycle. After the program is executed, the process terminates.
Thread: code segments running independently in the program. A process consists of a single or multiple threads.
The main thread: the main thread is a thread corresponding to a main (main) program, and when the main program is started, a process is created by an operating system (firmware of the smart watch). At the same time, the main thread also starts running.
Firmware: the special software stored in the chip of the embedded device and running can be an embedded operating system.
Task: at present, tasks in the smart watch can be divided into a synchronous task (synchronous) and an asynchronous task (asynchronous). The synchronous tasks refer to that only the former task is executed in the tasks queued and executed on the main thread, the latter task can be executed, and the synchronous tasks are sequentially executed on the main thread. An asynchronous task is a task that enters a main task queue (main task queue) without directly entering a main thread, and only if the main task queue notifies the main thread that an asynchronous task can be executed, the asynchronous task will enter the main thread to be executed.
Callback function (callback): refers to code that will be suspended by the main thread. The asynchronous task must specify a callback function, and the main thread starts to execute the asynchronous task, namely, the callback function corresponding to the asynchronous task is executed. Control message callback events: refers to an event that the system executes the callback function corresponding to the application entering the task.
The application enters the task: is an event into the application or a message into the application.
A main task queue: is a queue of events (or messages). When an input/output (IO) device completes a task, an event is added to the main task queue to indicate that the relevant asynchronous task can enter an execution stack (execution context stack). Reading the main task queue means reading which events are in the main task queue.
API: application programming interface (api) is some predefined interfaces (e.g. functions, HTTP interfaces), and may also refer to the convention for linking different components of a software system. To provide a set of routines that applications and developers can access based on certain software or hardware without accessing source code or understanding the details of the internal workings.
The smart watch may arrange and create application portal controls according to a particular dial pack. Each application entry control can be displayed on the dial plate in different display modes according to the description file in the dial plate package. The application portal control is a package of software data and logic, displayed on the screen of the smart watch in the form of icons. When the user touches the screen and clicks the icon, the user can jump to a specific application interface.
In some embodiments, a controller in the smart watch may obtain a dial pack and determine which dial pack to use based on a user selection. A system routine (e.g., a display manager) on the smart watch may be configured to display the corresponding application portal control in the manner set in the watch packet. The application portal control can be sent to the display manager using an API. The display manager may determine a particular aspect for displaying the application portal control, such as a color, style, size, location, etc. of the application portal control. The data displayed in the application portal control also comes from the corresponding application.
Introduction of the intelligent watch dial:
fig. 1a is a schematic diagram of a dial 100 of a smart watch according to an embodiment of the present application. Illustratively, the application portal controls in the dial 100 may include: a current time control 101, a week and morning and afternoon control 102, and a month and date control 103. In FIG. 1a, the current time 101 is shown in a 12-hour system, and the week and morning and afternoon controls 102 may show the morning or afternoon. The current time control 101 may also adopt a 24-hour system, and when the current time control 101 adopts the 24-hour system, the week and morning and afternoon control 102 may display only the day of the week, but not the morning or afternoon.
Such time information may be generated by a time application on the smart watch. For example, generated by a calendar application, and may provide the current time and date to the current time control 101, week and morning and afternoon control 102, month and date control 103. When the user clicks on any of the current time control 101, the week and morning and afternoon control 102, and the month and date control 103 from the watch face 100, a jump to a specific time application user interface may be made. The time, week, and month and date may be displayed in the exact format according to the specific configuration in the dial pack.
The dial 100 may also display a user's athletic step count information control 104, a weather control 106, a temperature control 107, and a heart rate information control 108. The athletic step information displayed in the athletic step information control 104 may be provided by a step count statistics application, the weather control 106 and the temperature control 107 may be provided by a weather functionality application, and the heart rate information may be provided by a heart rate detection functionality application.
In other embodiments, the dial 100 may also display related application portal controls such as news, social media, sports, and stock quotes, not shown in fig. 1 a.
When a user clicks an application entry control on the dial plate, the dial plate jumps to a function application corresponding to the control. Illustratively, referring to fig. 1b, when the user clicks on the heart rate information control 108, the interface of the smart watch jumps to a specific heart rate detection application user interface. Referring to fig. 1c, when the user clicks the athletic step information control 104, the interface of the smart watch jumps to the specific step count statistics application user interface. The interface of the smartwatch may also jump to a specific time application user interface when the user clicks on any of the current time control 101, week and morning and afternoon control 102, month and date control 103. When the user clicks related controls such as news, social media, sports, and stock quotes, the user can jump to the corresponding application user interface, which is not described herein.
Introduction of functional modules of the smart watch:
the present application provides a smart watch, a functional block diagram of which is shown in fig. 2, and the smart watch 20 includes:
the device comprises a memory 201, a wireless charging coil 202, a wireless charging control module 203, a battery 204, an audio module 205, a Bluetooth module 206, a radio frequency communication module 207, a motion sensor 208, a touch display 209, an optical sensor 210, other I/O devices 220, a control chip 230 and an I/O subsystem 240. Wherein the control chip 230 may include: memory controller 231, peripheral interface 232, processor 233. The I/O subsystem 240 may include: display controller 241, optical sensor controller 242, other I/O controller 243. Wherein, each module is connected through communication bus or signal line communication.
The memory 201 may include volatile memory and/or non-volatile memory. For example, the memory 201 may store commands or data related to at least one other component of the smart watch 20. The memory 201 may store software and/or programs. The programs may include, for example, Application Programming Interfaces (APIs), application programs (APPs), and Operating Systems (OSs). The API is an interface providing a function that allows the application storage controller 231 to control. For example, the API may include at least one interface or function (e.g., commands) for submission control, window control, image processing, or text control.
The Memory 201 may include, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Read-Only Memory (EPROM), electrically Erasable Read-Only Memory (EEPROM), and the like.
The wireless charging coil 202 can be used to receive power in a wireless fashion. In addition, the smart watch 20 may further include a wired charging interface, such as a charging pin or a micro usb or other interfaces that can implement a wired charging function. Further, the smart watch 20 may further include a wired charging interface and a wired charging control module for charging the battery 204 in a wired manner.
The wireless charging control module 203 is configured to control an external power source to wirelessly charge the smart watch 20. For example, wireless power is rectified, voltage and current are controlled, and then the battery is charged. The power of the wireless charging transmitting device can be controlled by wirelessly communicating with the wireless charging transmitting device. The wireless charging control module 203 may further include a sensing unit, which may be a current sensor that may measure the intensity of the charging current applied to the wireless charging coil 202 according to the reception of the wireless power.
The battery 204 may store wireless power received through the wireless charging coil 202 or power received through a wired charging interface. Power may also be provided to other modules.
The audio module 205 is used to convert audio data into electrical signals and transmit the electrical signals to the speaker, or the audio module 205 may also be used to receive electrical signals from the speaker and convert the electrical signals into audio data. The bluetooth module 206 is used for establishing bluetooth connection between the smart watch 20 and an external device to implement bluetooth communication, for example, bluetooth communication can be implemented between the smart watch 20 and an external device such as a mobile phone or an earphone. The radio frequency communication module 207 is configured to receive and transmit electromagnetic signals, and is used for the smart watch 20 to perform mobile communication.
The motion sensor 208 is configured to obtain motion data of the smart watch 20, so as to analyze motion states such as a posture and inertial information, and the motion sensor 208 may include an accelerometer, a gyroscope sensor, a pressure sensor, a magnetometer, a GPS receiver, and the like, and is used for acceleration, angle, pressure, direction, and position information of the smart watch, which are not shown in fig. 2 one by one, but are not limited to the present application.
The memory controller 231, peripheral interface 232, and processor 233 may be integrated onto the control chip 230.
The memory controller 231 is used to control other modules of the smart watch 20 to access the memory 201 to implement corresponding functions. The memory controller 231 may function as a relay, for example, to allow other modules to access software or programs stored in the memory 201.
Peripheral interface 232 is used to couple input and output peripherals of smart watch 20 to processor 233 and memory controller 231. The peripheral devices may include peripheral devices such as a wireless charging control module 203, an audio module 205, a bluetooth module 206, a radio frequency communication module 207, a motion sensor 208, and an I/O subsystem.
The Processor 233 may include a Central Processing Unit (CPU), an Application Processor (AP), a Communication Processor (CP), a Network Processor (NP), and the like; but may also be one or more of a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. The processor 233 may perform control of at least one of the other components of the smart watch 20 and/or perform operations or data processing related to communication. The processor 233 may refer to a controller. Processor 233 may perform data processing and invoke software programs and/or sets of instructions from memory 201 to implement the various functions of smart watch 20.
The I/O subsystem 240 may couple input/output peripherals on the smart watch 20 to the peripheral interfaces, the I/O subsystem 240 may include a display controller 241, an optical sensor controller 242, and other I/O controllers 243. The display controller 241 may control the touch display 209, the optical sensor controller 242 may control the optical sensor 210, and the other I/O controller 243 may control the other I/O devices 220. The other I/O devices 220 may include a rotatable crown, switches, edge touch sensitive strips, and the like. The optical sensor 210 may be used to emit as well as detect optical signals.
The first embodiment of the method comprises the following steps:
the smart watch generally carries a display screen on which a dial is displayed. Based on the personalized demand of the user, the intelligent watch can support the function of replacing the dial plate, so that a supplier can provide novel and fashionable appearance display for the user. The User may also be allowed to download new dial packs from the web to enrich the User Interface (UI) of the smartwatch.
After this dial plate package has been installed on this intelligent wrist-watch, can show this dial plate on the display screen of this intelligent wrist-watch, can include the application entry controlling part that the application corresponds on this dial plate. When a user clicks a specific application entry control from the display screen, the dial plate of the smart watch jumps to a specific interface of the application.
The dial plate of intelligent watch is various in style, and more dial plate styles are developed. Also, the applications of the smart watch are continuously evolving iteratively. Therefore, for the smart watch, not only the stability of the version is considered, but also dials with different styles are supported.
Referring to fig. 3, the method for implementing an application entry in a current dial plate includes:
s301, creating an application entrance control.
And reading the dial plate package from the memory, and creating an application entry control according to the dial plate package. The application entry control may refer to the above description, and may include the above current time control 101, the week and morning and afternoon control 102, the month and date control 103, the moving step number information control 104, the weather control 106, the temperature control 107, the heart rate information control 108, and the like, which are not described herein again.
S302, receiving click operation of a user in the application entrance control.
After creating the application portal control, a user click operation within the application portal control can be received.
And S303, jumping to the corresponding functional application.
And directly jumping to the functional application corresponding to the application entry control after receiving the clicking operation of the user in the application entry control. Specifically, refer to the process of jumping from fig. 1a to fig. 1b, or the process of jumping from fig. 1a to fig. 1c, which is not described herein again.
It is noted that the current application portal control is directly associated with the corresponding application. Specifically, the application entry control contains a linked index of the corresponding application. The link index may be an identifier of the application, such as a key (application name), an id (identity) number, and the like. After a user executes a click operation in the application entry control, the smart watch directly finds a specific application according to the identifier of the application, and then jumps to the corresponding application.
In different types or models of smartwatches, the naming of the identifiers of the same application may differ. Such a dial pack developed for one model of smart watch may not be suitable for another model of smart watch. Therefore, the dial packet has low universality and cannot be reused.
For the smart watch with the same version, continuous update and iterative upgrade of software may also be performed subsequently, and new applications are continuously developed. It is possible that the application identifier determined earlier may change later. If the link index in the corresponding application entry control program is updated asynchronously, the application entry control may not be corresponding to the corresponding application. Which may result in the user not being able to jump to a particular application when clicking on the application entry control. Therefore, when the identifier of the application is modified, the application entrance control program needs to be modified synchronously. Therefore, a large workload is brought to developers, and the modular design is not facilitated.
The second method embodiment:
in view of the foregoing problems, a second embodiment of the present application provides another method for implementing an application entry in a dial, please refer to fig. 4, and the second embodiment includes:
s401, reading the dial plate package from the memory, and creating an application entry control in the intelligent watch screen according to the dial plate package.
The dial packet is read from the memory. Specifically, the dial packet contains a description file and an icon of the application entry control. Further, the description file may contain keywords and control attributes. Each keyword corresponds to a specific application, and the keyword may be the name of the application. Illustratively, the keyword may include: health, sport, heartbeat, stress, oxygen, breath, weather, chronograph, timer, music, clock, compass, barometer. The control properties may include a position of the application portal control in a smart watch screen, and a width and a height of the application portal control.
And creating an application entrance control in the screen of the intelligent watch according to the dial packet. Specifically, an icon corresponding to the application entry control can be searched in the dial packet according to the keyword, and then the icon is displayed in the screen of the smart watch according to the control attribute.
Thus, the application entry control can be created one by one according to the keywords in the dial packet. Through such a mode, can continuously optimize the dial plate of this intelligent wrist-watch according to this dial plate package, the development firm can constantly release the dial plate package that accords with trend and user aesthetic for the dial plate of user's intelligent wrist-watch can constantly be updated, improves the user experience of this intelligent wrist-watch.
S402, receiving click operation of a user on the application entrance control.
After the application portal control is created, a user click operation within the application portal control may be received. And determining the specific application according to the clicking operation of the user. For example, referring to fig. 5, when the user performs a click operation within the heart rate information control, the smart watch may receive the user's click operation within the heart rate information control.
Referring to the above step S401, the dial packet includes the position of the application entry control in the smart watch screen and the width and height of the application entry control. After the application portal controls are created, the position of each application portal control on the watch face is determined. When the user clicks on the dial, the user's clicking operation can be positioned, and the position of the user's clicking operation is determined. When the location of the user's click operation is within which application portal control, then it can be determined which application portal control the user clicked.
And S403, generating an application entry task, and adding the application entry task into the main task queue.
In one embodiment, the application entry task may be an asynchronous task, and the embedded system of the smart watch may add the application entry task to a main task queue of the embedded system of the smart watch. The application entry task includes API interface information. The API interface information includes an ID corresponding to an application user interface. Specifically, the API interface may include a correspondence between an application name and an ID of the application user interface. When the application enters task execution, the corresponding application user interface can be determined according to the corresponding relation between the application name and the ID of the application user interface. Thereby jumping to the application user interface.
In another embodiment, the application entry task may be a synchronous task, and when a click operation of a user in an application entry control is received, the application entry task is generated and then directly added to a main thread, and the application entry task is queued for execution on the main thread. When it is the turn for the application to enter task execution, the application entry task executes on the main thread.
S404, reading the application entry task from the main task queue, and executing the application entry task.
The smart watch reads an application entry task from the main task queue and executes the application entry task. If the application entry task is an asynchronous task, the application entry task can enter the main thread to be executed only when the main thread is notified by the main task queue after the application entry task is added into the main task queue. Specifically, a callback function corresponding to the application entry control may be executed, that is, the application entry task may be executed. It should be noted that the control message callback event is an event that the main thread executes the callback function corresponding to the application entry control. The application entry task may be executed according to the control message callback event.
The application inlet control created according to the dial plate package is not directly associated with the application, and the modular design of the dial plate package can be met. When a user executes clicking operation in the application entry control, the control event processing module generates an application entry task, adds the application entry task into the main task queue, and can jump to the corresponding application when the application entry task is executed.
The application entry control, the main task queue and the application are independent of one another. When the main thread reads the application entry task from the main task queue, the application entry task can be executed, and then a specific application program user interface is jumped to. If the dial packet is transplanted from one type of smart watch to another type of smart watch, or the ID of the application user interface in the same type of smart watch changes. The ID of the updated program user interface is determined according to the name of the application only when the application enters the task and is executed on the main thread. The ID of the program user interface need not be configured in the dial pack, so that both the dial pack and the application can be decoupled. The modular design of dial plate package can be satisfied, the commonality of this dial plate package can be improved, developer's work load is reduced.
The third method embodiment:
the method for implementing the application entry in the dial plate may specifically include a method for creating an application entry control. Referring to fig. 6, in step S401 in the foregoing embodiment, the step of creating an application entry control may further include:
s501, reading the dial packet from the memory.
And reading a dial packet from the memory, wherein the dial packet can be received from the terminal equipment for the intelligent watch and stored in the memory of the intelligent watch. The terminal device and the smart watch can establish communication connection through communication modes such as Bluetooth and Near Field Communication (NFC). The dial packet can also be received from the server when the smart watch is in communication with the server. Or the dial plate package can also be preset in the memory of the intelligent watch when the intelligent watch leaves the factory.
As described in the foregoing step S401, the dial plate includes the description file and the icon of the application entry control. The description file includes keywords and control attributes. For ease of identification, the icon may be named with a keyword. For example, the icon of the heart rate information control may be named heartbeat, and the keyword of the heart rate information control is also heartbeat. Therefore, the icon and the keyword have consistency, the icon can be inquired through the keyword, and the flexibility of the scheme is improved.
And S502, determining an icon corresponding to the application entrance control according to the keyword.
And determining an icon corresponding to the application entrance control according to the keyword. In step S501, the icons corresponding to the application entry control are named by keywords. The icon corresponding to the application entry control can be searched from the dial plate package according to the keyword. For example, if the icon name is retrieved using the keyword heartbeat as a retrieval condition, the icon named by the heartbeat can be determined.
And S503, displaying the icon according to the control attribute.
And displaying the icon named by the keyword according to the control attribute corresponding to the keyword. For example, the icon is displayed with the position of the application portal control in the smart watch screen and the width and height of the application portal control contained in the control property.
All keywords in the dial packet can be traversed in sequence, and all icons corresponding to the keywords are displayed according to the control attributes to form a complete dial.
The method comprises the following steps:
in the first and third embodiments described above. It is possible that a user may create two application entry tasks when the user has clicked on two identical or different application entry controls in a short time in succession. That is to say, when the user clicks the application entry control once on the screen of the smart watch, and when the page does not jump, the user clicks the application entry control once again. For the smart watch, two application user interfaces cannot be displayed on the screen at the same time, and the smart watch can only execute the two applications in sequence to enter a task and display the two application user interfaces in sequence. Therefore, a fifth embodiment of the present application provides a method for implementing an application entry in a dial, please refer to fig. 7, and the fifth embodiment includes:
s601, receiving continuous clicking operation of a user in the application entrance control within preset time.
And receiving continuous clicking operation of a user in the application entrance control within a preset time. The continuous clicking operation may be a continuous clicking operation in the same application entry control, or may also be a clicking operation in different application entry controls. The predetermined time is a short time, which may be 0.5 seconds, for example.
S602, creating the application entry tasks with the same number of clicks as the user.
The same number of applications as the number of user clicks are created into the task. For example, referring to fig. 8, when the user clicks the weather control once in the first step and clicks the heart rate information control once in the second step within the preset time, two applications may be created to enter the task. Specifically, please refer to S401 for understanding the step of creating the application entry task, which is not described herein again. It should be noted that, if the continuous clicking operation of the user in the preset time is clicked in different application entry controls, the IDs of the application user interfaces included in the corresponding API interface information are different, and the application user interfaces to be subsequently skipped are different. If the continuous clicking operation of the user in the preset time is clicked in the same application entry control, the IDs of the application program user interfaces contained in the corresponding API interface information are the same, the application program user interfaces for subsequent jumping are the same, and the application program user interfaces for subsequent jumping are the same.
And S603, adding the application entering tasks into the main task queue one by one.
The application entry tasks created in this step S602 are added one by one to the main task queue. For example, as described above, when the user clicks on the weather control and clicks on the heart rate information control, two application entry tasks may be created and added to the primary task queue. When the main task queue informs the main thread, and after the first application enters the task and can be executed, the screen of the smart watch displays the weather control application interface, and the first application enters the task and is executed. And then, the main task queue informs the main thread, the second application enters a task to continue executing, and the screen of the intelligent watch displays the heart rate information control. In this way, a plurality of application entry tasks generated according to continuous clicking operations of the user in the application entry control within the preset time can be executed in sequence. Therefore, a plurality of click operations of the user in a short time can be responded, the user experience can be improved, and the consistency of the user operation is improved.
The first structural embodiment:
referring to fig. 9, the present application further provides an apparatus 80 for implementing an application entry in a dial, where the apparatus 80 for implementing an application entry in a dial is used to execute steps in the method for implementing an application entry in a dial, and the method and the beneficial effects are understood with reference to the first to fourth embodiments of the method, which are not described herein again. The apparatus 80 for implementing an application entry in a dial plate includes:
the dial plate loading module 801 is used for reading the dial plate packet from the memory and creating an application entry control in the intelligent watch screen according to the dial plate packet;
the control event processing module 802 is configured to generate an application entry task when a click operation of a user on an application entry control is received, and add the application entry task to a main task queue;
and the main task processing module 803 is configured to read the application entry task from the main task queue and execute the application entry task.
Furthermore, the dial plate package comprises a description file and an icon of the application entry control, and the description file comprises keywords related to the application name and control attributes. The dial plate loading module 801 is specifically configured to search for an icon corresponding to an application entry control from a dial plate package according to the keyword, and display the icon on a screen of the smart watch according to the control attribute.
The control attributes include a position of the application portal control in the smart watch screen and a width and a height of the application portal control. The control event processing module 802 is specifically configured to generate an application entry task of a related application according to the keyword.
The application entry task includes API interface information including an ID corresponding to the application user interface, and the main task processing module 803 is specifically configured to skip to the corresponding application user interface according to the ID of the application user interface. The control event processing module 802 is specifically configured to generate an application entry task according to a control message callback event.
The application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the method for implementing an application portal in a dial plate as described above.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device to perform all or part of the steps of the method according to 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 (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (14)

1. An implementation method of an application entry in a dial plate is applied to an intelligent watch, and is characterized by comprising the following steps:
reading a dial plate package from a memory, and creating an application entry control in the intelligent watch screen according to the dial plate package;
when receiving a click operation of a user on the application entry control, generating an application entry task, and adding the application entry task into a main task queue;
and reading the application entry task from the main task queue and executing the application entry task.
2. The method for implementing an application portal in a dial plate according to claim 1, wherein the dial plate includes a description file and an icon of the application portal control, the description file includes keywords and control attributes associated with an application name,
the step of creating an application entry control comprises:
searching an icon corresponding to the application entry control from the dial packet according to the keyword;
and displaying the icon on the screen of the intelligent watch according to the control attribute.
3. The method of claim 2, wherein the control properties include a position of the application portal control in the smart watch screen and a width and a height of the application portal control.
4. The method for implementing an application entry in a dial plate according to claim 2, wherein the step of generating an application entry task includes:
and generating an application entry task of the associated application according to the keyword.
5. The method for implementing an application portal in a dial plate of claim 1, wherein the application entry task includes API interface information including an ID corresponding to an application user interface,
the executing the application entry task comprises:
and jumping to the corresponding application program user interface according to the ID of the application program user interface.
6. The method for implementing an application portal in a dial according to claim 1, wherein the step of executing an application entry task includes:
and executing the application entering task according to the control message callback event.
7. An apparatus for implementing an access to a watch face, for use in a smart watch, the apparatus comprising:
the dial plate loading module is used for reading a dial plate package from the memory and creating an application entry control in the intelligent watch screen according to the dial plate package;
the control event processing module is used for generating an application entry task when receiving a click operation of a user on the application entry control, and adding the application entry task into a main task queue;
and the main task processing module is used for reading the application entry task from the main task queue and executing the application entry task.
8. The device for implementing an application entry in the dial plate according to claim 7, wherein the dial plate includes a description file and an icon of the application entry control, the description file includes a keyword associated with an application name and a control attribute,
the dial plate loading module is specifically used for searching an icon corresponding to the application entry control from the dial plate package according to the keyword, and displaying the icon on the screen of the intelligent watch according to the control attribute.
9. The in-dial application portal implementation of claim 8, wherein the control properties include a position of the application portal control in the smart watch screen and a width and a height of the application portal control.
10. Device for enabling access to an application in a dial according to claim 8,
the control event processing module is specifically configured to generate an application entry task of the associated application according to the keyword.
11. The in-dial application entry implementing device of claim 7, wherein the application entry task includes API interface information including an ID corresponding to an application user interface,
and the main task processing module is specifically used for jumping to the corresponding application program user interface according to the ID of the application program user interface.
12. Device for enabling access to an application in a dial according to claim 7,
the control event processing module is specifically used for executing the application entering task according to the control message callback event.
13. A smart watch characterized by comprising a processor and a memory, said memory storing a computer program executable by said processor, said computer program, when executed by said processor, implementing a method for implementing an application portal in a watch dial as claimed in any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for implementing an application portal in a dial according to any one of claims 1 to 6.
CN202110633945.7A 2021-06-07 2021-06-07 Method and device for realizing application entry in dial plate, intelligent watch and storage medium Pending CN113434061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110633945.7A CN113434061A (en) 2021-06-07 2021-06-07 Method and device for realizing application entry in dial plate, intelligent watch and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110633945.7A CN113434061A (en) 2021-06-07 2021-06-07 Method and device for realizing application entry in dial plate, intelligent watch and storage medium

Publications (1)

Publication Number Publication Date
CN113434061A true CN113434061A (en) 2021-09-24

Family

ID=77803847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110633945.7A Pending CN113434061A (en) 2021-06-07 2021-06-07 Method and device for realizing application entry in dial plate, intelligent watch and storage medium

Country Status (1)

Country Link
CN (1) CN113434061A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737114A (en) * 2012-03-20 2015-06-24 谷歌股份有限公司 Multi-axis interface for a touch-screen enabled wearable device
CN107667337A (en) * 2015-06-05 2018-02-06 苹果公司 Information is provided on electronic watch
US10496705B1 (en) * 2018-06-03 2019-12-03 Apple Inc. Accelerated task performance
CN111740894A (en) * 2020-05-29 2020-10-02 腾讯科技(深圳)有限公司 Planned task creating method and device, computer equipment and storage medium
CN112199125A (en) * 2020-09-18 2021-01-08 上海硬通网络科技有限公司 Application starting method and device and electronic equipment
CN112685058A (en) * 2020-12-22 2021-04-20 北京达佳互联信息技术有限公司 Pre-download method of application program update package, related device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737114A (en) * 2012-03-20 2015-06-24 谷歌股份有限公司 Multi-axis interface for a touch-screen enabled wearable device
CN107667337A (en) * 2015-06-05 2018-02-06 苹果公司 Information is provided on electronic watch
US10496705B1 (en) * 2018-06-03 2019-12-03 Apple Inc. Accelerated task performance
CN111740894A (en) * 2020-05-29 2020-10-02 腾讯科技(深圳)有限公司 Planned task creating method and device, computer equipment and storage medium
CN112199125A (en) * 2020-09-18 2021-01-08 上海硬通网络科技有限公司 Application starting method and device and electronic equipment
CN112685058A (en) * 2020-12-22 2021-04-20 北京达佳互联信息技术有限公司 Pre-download method of application program update package, related device and storage medium

Similar Documents

Publication Publication Date Title
US10972529B2 (en) Page jump method and apparatus
US20170083350A1 (en) Information processing device, control method therefor, and program
RU2567503C2 (en) Method and apparatus for providing information history associated with time information
EP2676183B1 (en) Methods and apparatus for providing updated content in a user interface
US20140173443A1 (en) Fitness computer and system
US20180302231A1 (en) Method for processing job information and electronic device supporting same
CN106168673B (en) Sensor information using method and electronic device using the same
EP3203352B1 (en) User interfacing method and electronic device for performing the same
KR20050094405A (en) An apparatus and a method for providing information to a user
US20130268396A1 (en) Method and system for providing personalized application recommendations
KR20150054413A (en) Apparatas and method for determining a location of content according to user's eyes data in an electronic device
US11774917B2 (en) Apparatus with API for use in indicating time interval durations of particular events
CN113365106A (en) Multimedia resource generation method and device, electronic equipment and storage medium
CN113110939A (en) Method and device for processing running data, computer equipment and storage medium
US10621308B2 (en) Electronic device and method for linking exercise schedule thereof
KR20150008653A (en) Method for utilizing Usage Log of Portable Terminal and Apparatus for using the same
CN112291411A (en) Method, terminal and computer readable medium for recommending operation sequence
KR20180000090A (en) Method for providing additional information for application and electronic device supporting the same
KR102665642B1 (en) Method for managing schedule and electronic device supporting the same
CN113434061A (en) Method and device for realizing application entry in dial plate, intelligent watch and storage medium
CN112363654A (en) Display control method of wearable device, wearable device and storage medium
KR20200100367A (en) Method for providing rountine and electronic device for supporting the same
Gusgård Application development for the Apple Watch
CN112286609B (en) Method and device for managing shortcut setting items of intelligent terminal
JP7115928B2 (en) Electronic device and program

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