Configuration method, system, wearable device and medium adapted to third-party applications

By generating View attribute configuration files and extracting adaptive configuration strategies, the problem of inoperability of third-party applications on wearable devices is solved, ensuring that applications run normally on devices with different screen sizes and improving user experience.

CN110069294BActive Publication Date: 2024-09-20NUBIA TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910359632.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-28
Publication Date
2024-09-20
Estimated Expiration
2039-04-28

AI Technical Summary

Technical Problem

When integrating third-party applications on wearable devices, users cannot operate the third-party applications normally because the screen size parameters are different from those of mobile phones.

Method used

Generate View attribute configuration files by obtaining the adaptation parameters of third-party applications, extract the adaptation configuration policy, and start the application to ensure that the application runs normally on devices with different screen sizes.

Benefits of technology

It realizes the normal display and operation of third-party applications on wearable devices, avoids display overlap problems, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110069294B
    Figure CN110069294B
Patent Text Reader

Abstract

The present invention discloses a configuration method for third-party application adaptation, which includes: obtaining various adaptation parameters of the third-party application, generating a View attribute configuration file of the third-party application according to the adaptation parameters; when a startup instruction of the third-party application is detected, extracting the adaptation configuration strategy of the third-party application from the View attribute configuration file; based on the adaptation configuration strategy, starting and running the third-party application. The present invention also provides a configuration system for third-party application adaptation, a wearable device, and a computer-readable storage medium. The present invention solves the technical problem that when a third-party application designed and developed for the screen size parameters of a terminal device is integrated and installed on a wearable device, a user cannot operate the third-party application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminal technology, and in particular to a configuration method, system, wearable device and computer-readable storage medium adapted to third-party applications. Background Art

[0002] With the rapid development of smart terminal technology, wearable terminal devices have gradually matured and become popular. Nowadays, a wide variety of wearable devices with various forms have emerged in the market, such as smart watches, smart bracelets, smart glasses, and various wearable devices with flexible screens.

[0003] Existing wearable devices integrate various application APPs (Application Programs) so that users can implement the corresponding functions of the application APP based on the wearable device. However, when integrating third-party applications on wearable devices, since the third-party applications are basically designed for View (field of view) properties based on the size parameters of the mobile phone screen, and the size parameters of the wearable device screen are obviously different from the size parameters of the mobile phone screen, when the third-party applications are integrated on the wearable device, it is easy to cause the user to be unable to operate the third-party applications. Summary of the invention

[0004] The main purpose of the present invention is to provide a configuration method, system, wearable device and computer-readable storage medium adapted to third-party applications, aiming to solve the technical problem that when a third-party application designed and developed for the screen size parameters of the terminal device is integrated and installed on a wearable device, the user cannot operate the third-party application.

[0005] To achieve the above object, an embodiment of the present invention provides a configuration method for third-party application adaptation, and the configuration method for third-party application adaptation includes:

[0006] Acquire various adaptation parameters of the third-party application, and generate a View attribute configuration file of the third-party application according to the various adaptation parameters;

[0007] When a startup instruction of the third-party application is detected, extracting an adaptation configuration policy of the third-party application from the View attribute configuration file;

[0008] Based on the adaptive configuration policy, the third-party application is started and run.

[0009] Optionally, the configuration method of the third-party application further includes:

[0010] The configuration method of the third-party application also includes:

[0011] After detecting that the version of the third-party application is updated, obtaining new adaptation parameters of the third-party application;

[0012] The step of generating the View attribute configuration file is performed based on each of the new adaptation parameters.

[0013] Optionally, the configuration method of the third-party application further includes:

[0014] When an update installation instruction of the third-party application is detected, determining whether the View attribute configuration file of the third-party application after the version update is detected;

[0015] If it is detected that the View attribute configuration file is contained, installation of the third-party application with an updated version is allowed.

[0016] Optionally, after the step of detecting whether the View attribute configuration file of the third-party application after the version update is contained, the method further includes:

[0017] If the View attribute configuration file is not detected, the installation of the third-party application after the updated version is prohibited, and a prompt message indicating that the installation is currently prohibited is output.

[0018] Optionally, the configuration method for third-party application adaptation further includes:

[0019] When it is detected that the terminal builds a user portrait, the View attribute configuration file is adjusted and optimized based on the user portrait.

[0020] Optionally, when it is detected that the terminal builds a user portrait, the step of adjusting and optimizing the View attribute configuration file based on the user portrait includes:

[0021] Collect various attribute parameters of the user through the terminal, and build a user profile of the current user based on the attribute parameters;

[0022] Based on the user portrait, the adaptation configuration strategy in the attribute configuration file is adjusted.

[0023] In addition, to achieve the above-mentioned purpose, the present invention further provides a configuration system adapted to third-party applications, the configuration system adapted to third-party applications comprising: a terminal device and a device server, the terminal device being communicatively connected to the device server, wherein:

[0024] The device server is used to obtain various adaptation parameters of the third-party application, generate a View attribute configuration file of the third-party application according to the various adaptation parameters, and push the View attribute configuration file to the terminal device;

[0025] The terminal device is used to extract the adaptation configuration policy of the third-party application from the View attribute configuration file when detecting the startup instruction of the third-party application, and start and run the third-party application based on the adaptation configuration policy.

[0026] Optionally, the device server is further used for:

[0027] After detecting that the version of the third-party application is updated, obtaining new adaptation parameters of the third-party application;

[0028] The step of generating the View attribute configuration file is performed based on each of the new adaptation parameters, and the generated View attribute configuration file is pushed to the terminal device.

[0029] In addition, to achieve the above-mentioned purpose, the present invention also provides a wearable device;

[0030] The wearable device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein:

[0031] When the computer program is executed by the processor, the steps of the configuration method for third-party application adaptation as described above are implemented.

[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium;

[0033] The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the configuration method for third-party application adaptation as described above are implemented.

[0034] The embodiments of the present invention propose a configuration method, system, wearable device and computer-readable storage medium for third-party application adaptation, which obtain various adaptation parameters of the third-party application and generate a View attribute configuration file of the third-party application according to the adaptation parameters; when a startup instruction of the third-party application is detected, the adaptation configuration policy of the third-party application is extracted from the View attribute configuration file; based on the adaptation configuration policy, the third-party application is started and run.

[0035] The present invention detects and obtains various adaptation parameters of a third-party application currently installed on a wearable device, generates a View attribute configuration file of the third-party application on the current wearable device according to the various adaptation parameters, and pushes the generated View attribute configuration file to the current wearable device. When it is detected that a user has triggered a startup instruction of a third-party application based on the wearable device, it is detected whether the current wearable device contains the View attribute configuration file of the current third-party application, and when the View attribute configuration file is detected, an adaptation configuration policy of the third-party application on the current wearable device is extracted from the View attribute configuration file, and based on the extracted adaptation configuration policy, the third-party application is started and run on the current wearable device.

[0036] It is achieved that, based on various adaptation parameters of the third-party application, a View attribute configuration file corresponding to the third-party application on the current wearable device is generated. After the wearable device detects that the user triggers the start instruction of the third-party application, the third-party application is started and run according to the adaptation configuration strategy of the third-party application in the generated View attribute configuration file, so that the third-party application designed for screen size parameters different from the current wearable device can be fully displayed after being integrated and installed on the current wearable device, and there will be no display overlap, so that the user can operate the third-party application on the current wearable device. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0039] Figure 1 A schematic diagram of the hardware structure of an implementation of a wearable device provided in an embodiment of the present invention;

[0040] Figure 2 A hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;

[0041] Figure 3 A hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;

[0042] Figure 4 A hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;

[0043] Figure 5 A hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;

[0044] Figure 6 A flowchart of the first embodiment of the configuration method adapted to third-party applications of this application;

[0045] Figure 7 This is a flowchart of the second embodiment of the configuration method for third-party application adaptation of the present application. DETAILED DESCRIPTION

[0046] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0047] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0048] The wearable device provided in the embodiment of the present invention includes a smart bracelet, a smart watch, and a mobile terminal such as a smart phone. With the continuous development of screen technology and the emergence of screen forms such as flexible screens and folding screens, mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: RF (Radio Frequency) unit, WiFi module, audio output unit, A / V (audio / video) input unit, sensor, display unit, user input unit, interface unit, memory, processor, power supply and other components.

[0049] The following description will take wearable devices as an example. Figure 1 , which is a schematic diagram of the hardware structure of a wearable device for implementing various embodiments of the present invention, the wearable device 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The wearable device structure shown in the figure does not constitute a limitation on the wearable device. The wearable device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0050] Combine the following Figure 1 A detailed introduction to the various components of wearable devices:

[0051] The RF unit 101 can be used for sending and receiving information or receiving and sending signals during a call. Specifically, the RF unit 101 can send uplink information to the base station. In addition, it can also receive downlink information sent by the base station and send it to the processor 110 of the wearable device for processing. The downlink information sent by the base station to the RF unit 101 can be generated based on the uplink information sent by the RF unit 101, or it can be actively pushed to the RF unit 101 after detecting that the information of the wearable device is updated. For example, after detecting that the geographical location of the wearable device has changed, the base station can send a message notification of the geographical location change to the RF unit 101 of the wearable device. After receiving the message notification, the RF unit 101 can send the message notification to the processor 110 of the wearable device for processing. The processor 110 of the wearable device can control the message notification to be displayed on the display panel 1061 of the wearable device; usually, the RF unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication, which can specifically include: communicating with a server in the network system through wireless communication. For example, the wearable device can download file resources from the server through wireless communication, such as downloading applications from the server. After the wearable device completes downloading an application, if the file resources corresponding to the application in the server are updated, the server can push a resource update message notification to the wearable device through wireless communication to remind the user to update the application. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.

[0052] In one implementation, the wearable device 100 can access an existing communication network by inserting a SIM card.

[0053] In another embodiment, the wearable device 100 can access the existing communication network by setting an eSIM card (Embedded-SIM). The use of the eSIM card can save the internal space of the wearable device and reduce the thickness.

[0054] It is understandable that although Figure 1 The RF unit 101 is shown, but it is understandable that the RF unit 101 is not a necessary component of the wearable device and can be omitted as needed without changing the essence of the invention. The wearable device 100 can achieve communication connection with other devices or communication networks through the wifi module 102 alone, and the embodiment of the present invention is not limited to this.

[0055] WiFi is a short-range wireless transmission technology. The wearable device can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not a necessary component of the wearable device and can be omitted as needed without changing the essence of the invention.

[0056] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the wearable device 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the wearable device 100 (for example, a call signal receiving sound, a message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.

[0057] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0058] In one embodiment, the wearable device 100 includes one or more cameras. By turning on the camera, it is possible to capture images, take photos, record videos, etc. The position of the camera can be set as needed.

[0059] The wearable device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the wearable device 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that recognize the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.

[0060] In one embodiment, the wearable device 100 further includes a proximity sensor. By using the proximity sensor, the wearable device can achieve contactless control and provide more operation modes.

[0061] In one embodiment, the wearable device 100 further includes a heart rate sensor, which can detect the heart rate when worn by bringing the wearer close to the wearer.

[0062] In one embodiment, the wearable device 100 may further include a fingerprint sensor, which can realize functions such as security verification by reading fingerprints.

[0063] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0064] In one embodiment, the display panel 1061 uses a flexible display screen. When the wearable device using the flexible display screen is worn, the screen can be bent so as to fit better. Optionally, the flexible display screen can use an OLED screen body and a graphene screen body. In other embodiments, the flexible display screen can also be other display materials, and this embodiment is not limited thereto.

[0065] In one embodiment, the display panel 1061 of the wearable device can be in a rectangular shape, which is convenient for wrapping around when worn. In other embodiments, other forms can also be adopted.

[0066] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0067] In one embodiment, one or more buttons may be provided on the side of the wearable device 100. The buttons may be operated in various ways, such as short press, long press, rotation, etc., to achieve various operation effects. There may be multiple buttons, and different buttons may be used in combination to achieve various operation functions.

[0068] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the embodiment, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the wearable device. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the wearable device, which is not limited here. For example, when a message notification of an application is received through the radio frequency unit 101, the processor 110 can control the message notification to be displayed in a preset area of ​​the display panel 1061, and the preset area corresponds to a certain area of ​​the touch panel 1071. By performing a touch operation on a certain area of ​​the touch panel 1071, the message notification displayed in the corresponding area on the display panel 1061 can be controlled.

[0069] The interface unit 108 serves as an interface through which at least one external device can be connected to the wearable device 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable device 100 or may be used to transmit data between the wearable device 100 and an external device.

[0070] In one embodiment, the interface unit 108 of the wearable device 100 adopts a contact structure, and is connected to other corresponding devices through the contacts to achieve functions such as charging and connection. The use of contacts can also be waterproof.

[0071] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0072] The processor 110 is the control center of the wearable device. It uses various interfaces and lines to connect the various parts of the entire wearable device. By running or executing the software programs and / or modules stored in the memory 109 and calling the data stored in the memory 109, it performs various functions of the wearable device and processes data, thereby monitoring the wearable device as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0073] The wearable device 100 may also include a power supply 111 (such as a battery) for supplying power to each component. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, thereby managing functions such as charging, discharging, and power consumption management through the power management system.

[0074] although Figure 1 Not shown, the wearable device 100 may also include a Bluetooth module, etc., which will not be described in detail herein. The wearable device 100 may be connected to other terminal devices via Bluetooth to achieve communication and information exchange.

[0075] Please refer to Figure 2-Figure 4 , is a schematic diagram of a structure of a wearable device provided in an embodiment of the present invention. The wearable device in the embodiment of the present invention includes a flexible screen. When the wearable device is unfolded, the flexible screen is in a long strip shape; when the wearable device is in a wearing state, the flexible screen is bent into a ring shape. Figure 2 and Figure 3 shows a schematic diagram of the structure of the wearable device when the screen is unfolded. Figure 4 A schematic diagram of the structure when the screen of a wearable device is bent is shown.

[0076] Based on the above embodiments, it can be seen that if the device is a watch, a bracelet or a wearable device, the screen of the device may not cover the strap area of ​​the device, or it may cover the strap area of ​​the device. Here, the present application proposes an optional embodiment. In this embodiment, the device may be a watch, a bracelet or a wearable device, and the device includes a screen and a connecting part. The screen may be a flexible screen, and the connecting part may be a strap. Optionally, the screen of the device or the display area of ​​the screen may be partially or completely covered on the strap of the device. Figure 5 As shown, Figure 5 A hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application, wherein the screen of the device extends to both sides and partially covers the strap of the device. In other implementations, the screen of the device may also be completely covered on the strap of the device, and the embodiment of the present application is not limited thereto.

[0077] Based on the above-mentioned wearable device hardware structure and communication network system, various embodiments of the method of the present invention are proposed.

[0078] The present invention provides a configuration method for third-party application adaptation, and the configuration method for third-party application adaptation includes:

[0079] Acquire various adaptation parameters of the third-party application, and generate a View attribute configuration file of the third-party application according to the adaptation parameters; when a startup instruction of the third-party application is detected, extract the adaptation configuration policy of the third-party application from the View attribute configuration file; based on the adaptation configuration policy, start and run the third-party application.

[0080] For details, please refer to Figure 6 , Figure 6 This is a flow chart of a first embodiment of a configuration method for third-party application adaptation of the present invention. In the first embodiment of a configuration method for third-party application adaptation of the present invention, the configuration method for third-party application adaptation includes:

[0081] Step S10, obtaining various adaptation parameters of the third-party application, and generating a View attribute configuration file of the third-party application according to the various adaptation parameters.

[0082] Detect and obtain various adaptation parameters of the third-party application installed on the current terminal device, generate a View attribute configuration file of the third-party application on the current terminal device according to the obtained adaptation parameters, and push the generated View attribute configuration file to the current terminal device.

[0083] It should be noted that the application View attribute is an application attribute that the terminal device refers to when starting and running a specific application, drawing a View process to layout the display interface of the application and the functional controls on each interface.

[0084] Specifically, for example, when the device server of the current wearable device detects that a third-party application is installed on the current wearable device by default, it downloads and obtains the interface name, ViewID, display content and other attribute adaptation parameters of the third-party application encapsulated in the third-party application installation data, and based on the acquired adaptation parameters of the third-party application attributes, generates a View attribute configuration file for the third-party application to be displayed and started on the current wearable device, and pushes the generated View attribute configuration file to the current wearable device.

[0085] It should be noted that the View attribute configuration file of the third-party application configured by the device server is specifically as follows: the interface name, View name, View ID, View display content, other View attributes (such as display height, width, whether the display is focused, whether the display content is clickable, etc.) to which the third-party application View belongs, and the adaptation configuration strategy of the application View (such as: hide, show, click, clickable, non-clickable, adjust width, adjust height, slidable, non-slidable, etc.) are identified in the corresponding fields in the format as follows:<activityname,name,id,content,hide> The location shown is used to form a View property configuration file for the third-party application.

[0086] Step S20: when a startup instruction of the third-party application is detected, extracting an adaptation configuration policy of the third-party application from the View attribute configuration file.

[0087] On the terminal device, when it is detected that the user triggers the startup instruction of the installed third-party application, or the third-party application automatically triggers the startup instruction, the View attribute configuration file of the third-party application on the current terminal device is pushed from the device server to extract the adaptive configuration policy for the current third-party application to start and run on the current terminal device.

[0088] Specifically, for example, when the wearable device detects a user input control operation (for example, a click operation based on the screen input of the current wearable device) and triggers a startup instruction for the third-party application currently selected by the user, the current wearable device immediately parses and searches for the View attribute configuration file corresponding to the third-party application currently selected by the user in the third-party configuration file pushed by the device server. For example, based on the attribute adaptation parameters such as the interface name, ViewID, and display content of the current third-party application, the View attribute configuration file corresponding to the third-party application currently selected by the user is determined, and from the found View attribute configuration file, the adaptation configuration strategy for starting and running the third-party application on the current wearable device is extracted, namely, hiding, showing, clicking, clickable, non-clickable, adjusting width, adjusting height, sliding, non-sliding, etc.

[0089] Furthermore, in another embodiment, if in the View attribute configuration file of the third-party application pushed by the device server, according to the attribute adaptation parameters such as the interface name, ViewID, and display content of the third-party application triggered by the current user to start the instruction, a corresponding View attribute configuration file is not detected, then a prompt message is output on the current terminal device to prompt the user that the current application cannot be run, and at the same time, application information related to the current third-party application, such as the application name, version number, and other application information, is reported to the device server, so that the device server can download and parse the adaptation parameters of the current third-party application based on the application information, and configure the corresponding View attribute configuration file.

[0090] Step S30: starting and running the third-party application based on the adaptive configuration strategy.

[0091] On the terminal device, according to the extracted third-party application, the adaptive configuration policy for starting and running on the current terminal device is used, and the View process for starting and running the third-party application is drawn on the current terminal device according to the adaptive configuration policy to ensure the normal startup and operation of the third-party application.

[0092] Specifically, for example, when the wearable device determines the View attribute configuration file corresponding to the third-party application currently selected by the user based on the attribute adaptation parameters such as the interface name, ViewID, display content, etc. of the current third-party application, and extracts the adaptation configuration strategy for starting the third-party application selected by the user and triggering the start instruction on the current wearable device from the found View attribute configuration file, the execution layer of the wearable device immediately executes each adaptation configuration strategy on the current wearable device, namely, hiding, showing, clicking, clickable, non-clickable, adjusting width, adjusting height, sliding or non-sliding, etc., to start running the third-party application selected by the user on the current wearable device.

[0093] In this embodiment, by detecting and obtaining various adaptation parameters of the third-party application installed on the current terminal device, and generating a View attribute configuration file of the third-party application on the current terminal device according to the obtained adaptation parameters, and pushing the generated View attribute configuration file to the current terminal device, on the terminal device, when a startup instruction of the installed third-party application is detected, the adaptation configuration policy for starting and running the current third-party application on the current terminal device is extracted from the View attribute configuration file of the third-party application pushed from the device server to the current terminal device, and the adaptation configuration policy for starting and running the third-party application on the current terminal device is used according to the extracted third-party application, and the View process for starting and running the third-party application is drawn on the current terminal device according to the adaptation configuration policy to ensure the normal startup and operation of the third-party application.

[0094] It is achieved that, based on various adaptation parameters of the third-party application, a View attribute configuration file corresponding to the third-party application on the current wearable device is generated. After the wearable device detects that the user triggers the start instruction of the third-party application, the third-party application is started and run according to the adaptation configuration strategy of the third-party application in the generated View attribute configuration file, so that the third-party application designed for screen size parameters different from the current wearable device can be fully displayed after being integrated and installed on the current wearable device, and there will be no display overlap, so that the user can operate the third-party application on the current wearable device.

[0095] Further, based on the first embodiment of the configuration method for third-party application adaptation of the present invention, a second embodiment of the configuration method for third-party application adaptation of the present invention is proposed, please refer to Figure 7 , Figure 7 This is a flow chart of a second embodiment of a configuration method for third-party application adaptation of the present invention. In this embodiment, the configuration method for third-party application adaptation of the present invention further includes:

[0096] Step S40: after detecting that the third-party application has been updated, obtaining various new adaptation parameters of the third-party application.

[0097] After detecting that the version of the third-party application installed on the terminal device is updated, the device server downloads and installs the updated version of the third-party application, and parses and obtains various adaptation parameters of the updated version of the third-party application.

[0098] Specifically, for example, when the device server detects that the version number of the third-party application installed on the current wearable device is different from the application version number released by the designer and developer of the current third-party application, it determines that the version of the current third-party application has been updated. The current device server then starts downloading and obtaining the interface name, ViewID, display content and other attribute adaptation parameters of the third-party application encapsulated in the third-party application installation data after the current updated version.

[0099] Step S50, generating the View attribute configuration file based on the new adaptation parameters.

[0100] The device server generates a View attribute configuration file for the third-party application on the current terminal device according to the obtained adaptation parameters of the third-party application after the version update, and pushes the generated View attribute configuration file to the current terminal device, generates a View attribute configuration file for the third-party application after the updated version, and pushes the generated View attribute configuration file to the current terminal device.

[0101] Specifically, for example, after the device server downloads and obtains the interface name, ViewID, display content and other attribute adaptation parameters of the third-party application encapsulated in the third-party application installation data after the current updated version, the updated application version of the third-party application is generated according to the various adaptation parameters of the acquired third-party application attributes, and the View attribute configuration file is displayed and started on the current wearable device, that is, the interface name, View name, View ID, View display content, other View attributes (such as: display height, width, whether the display is focused, whether the displayed content is clickable, etc.) of the View of the updated application version of the third-party application are configured, and the View attribute configuration file of the updated application version is pushed to the wearable device.

[0102] Step S60: When the update installation instruction of the third-party application is detected, it is determined whether the View attribute configuration file of the third-party application after the version update is detected.

[0103] After the terminal device detects that the user triggers an update and installation instruction for the third-party application for an updated version, or the third-party application automatically triggers an update and installation instruction, it is determined from the View attribute configuration file of the third-party application pushed by the device server whether the current terminal device contains the View attribute configuration file of the updated application version of the third-party application specified by the current update and installation instruction.

[0104] Specifically, for example, when the wearable device detects that the user has triggered an installation update instruction for a third-party application currently selected by the user based on an input control operation (for example, based on a screen input click operation of the current wearable device), based on the interface name, ViewID, display content and other attribute adaptation parameters of the currently selected third-party application, the View attribute configuration file corresponding to the application version after the current third-party application is updated is detected from the View attribute configuration file pushed by the device server.

[0105] Step S70: If it is detected that the View attribute configuration file is contained, the third-party application with an updated version is allowed to be installed.

[0106] If the terminal device detects a View attribute configuration file containing an updated application version of the third-party application specified by the current update installation instruction, the user-triggered installation update instruction is executed to allow the updated application version of the third-party application to be installed on the current terminal device.

[0107] Specifically, for example, if the wearable device detects the View attribute configuration file corresponding to the updated application version of the current third-party application from the View attribute configuration file pushed by the device server based on the interface name, ViewID, display content and other attribute adaptation parameters of the third-party application currently selected by the user, it will start to execute the installation update instruction triggered by the user to install the updated application version of the selected third-party application on the current wearable device.

[0108] Further, in another embodiment, after detecting whether the View attribute configuration file of the third-party application after the version update is contained in step S60, the configuration method for third-party application adaptation of the present invention further includes:

[0109] Step S80: If the View attribute configuration file is not detected, the third-party application with the updated version is prohibited from being installed, and a prompt message indicating that the installation is currently prohibited is output.

[0110] If the terminal device does not detect the View attribute configuration file containing the updated application version of the third-party application specified by the current update installation instruction, the installation update instruction triggered by the user will not be executed, the installation of the updated application version of the third-party application on the current terminal device is prohibited, and a prompt message is output to the user.

[0111] Specifically, for example, if the wearable device does not detect the View attribute configuration file corresponding to the application version after the current third-party application is updated from the View attribute configuration file pushed from the device server based on the attribute adaptation parameters such as the interface name, ViewID, and display content of the third-party application currently selected by the user, the installation update instruction triggered by the user is terminated, and a prompt message is output to the user on the current wearable device to prompt the user that the current version does not support the update, or that the current application cannot be used after the update.

[0112] Furthermore, in another embodiment, while the current wearable device terminates the execution of the installation update instruction triggered by the user, the application information such as the application name of the third-party application currently selected by the user and the updated version number is reported to the device server, so that the device server can download and parse the adaptation parameters of the application version after the current third-party application is updated based on the application information, and configure the View attribute configuration file corresponding to the updated application version.

[0113] In this embodiment, after the device server detects that the version of the third-party application installed on the terminal device is updated, it downloads and installs the third-party application after the updated version, parses and obtains various adaptation parameters of the third-party application after the updated version, and executes the steps of generating a View attribute configuration file of the third-party application on the current terminal device according to the obtained adaptation parameters of the third-party application after the version update, and pushes the generated View attribute configuration file to the current terminal device, generating a View attribute configuration file of the third-party application after the updated version, and pushing the generated View attribute configuration file to the current terminal device. After the terminal device detects the update installation instruction of the third-party application, the first step pushed from the device server In the View attribute configuration file of the third-party application, it is determined whether the View attribute configuration file of the updated application version of the third-party application specified by the current update installation instruction is contained on the current terminal device. If the terminal device detects that the View attribute configuration file contains the updated application version of the third-party application specified by the current update installation instruction, the user-triggered installation update instruction is executed to allow the updated application version of the third-party application to be installed on the current terminal device. Alternatively, if the View attribute configuration file containing the updated application version of the third-party application specified by the current update installation instruction is not detected, the user-triggered installation update instruction is not executed, the installation of the updated application version of the third-party application on the current terminal device is prohibited, and a prompt message is output to the user.

[0114] The method realizes that, after detecting that the designer and developer of a third-party application releases an updated version of the third-party application, a View property configuration file of the updated application version of the third-party application is immediately generated. Thus, when detecting that the terminal device installs the updated application version of the third-party application, the third-party application is updated based on the generated View property configuration file of the updated application version. Thus, it is ensured that after the third-party application is updated, it can still be started and run normally on the wearable device, thereby avoiding the problem that the user cannot use the application normally after updating the local application, thereby improving the user experience.

[0115] Further, based on the first and second embodiments of the configuration method for third-party application adaptation of the present invention, a third embodiment of the configuration method for third-party application adaptation of the present invention is proposed. In this embodiment, the configuration method for third-party application adaptation of the present invention further includes:

[0116] Step A: when it is detected that a user profile exists in the terminal or the user profile is updated, the View attribute configuration file is adjusted and optimized based on the user profile.

[0117] The user's attribute parameters are collected through the terminal device, and a user portrait of the current terminal device user is portrayed on the current terminal or on the device server based on the collected user attribute parameters. Based on the portrayed user portrait, the View attribute configuration file of the third-party application installed on the terminal device is adjusted and optimized.

[0118] Further, step A comprises:

[0119] Step A1, collecting various attribute parameters of the user through the terminal, and constructing a user profile of the current user based on the attribute parameters.

[0120] The terminal device collects various attribute parameters of the user using the current terminal device, and builds a user profile of the current terminal device user based on the collected attribute parameters of the user.

[0121] It should be noted that the attribute parameters of the terminal device user include at least: user personal information, user usage habit information of the current terminal device, etc.

[0122] Specifically, for example, the wearable device collects personal information registered by the user when the user uses the current wearable device, such as gender, age, etc., and records the user's usage habits when using the current wearable device based on machine memory, and builds a user profile of the current wearable device based on the collected user's personal information and recorded usage habits.

[0123] Furthermore, in another embodiment, the terminal device may also upload the collected attribute parameters of the user using the current terminal device to the device server, and the server constructs a user profile of the current terminal device user based on the collected attribute parameters of the user.

[0124] Step A2: adjusting the adaptation configuration strategy in the attribute configuration file based on the user portrait.

[0125] According to the constructed user portrait of the current terminal device, the adaptive configuration strategy for starting and running the third-party application in the View attribute configuration file of the third-party application installed on the current wearable device is adjusted and optimized.

[0126] Specifically, for example, when the current user is older, the corresponding adaptive configuration strategy for starting and running third-party applications will enlarge the display size of the content displayed when the third-party application is running; and the current user's usage habits of using the current wearable device are learned, and based on the user's usage patterns of continuously running third-party applications, the corresponding application is automatically started and run at the common times when the user uses the third-party application.

[0127] Furthermore, in another embodiment, the terminal device may also upload the collected attribute parameters of the user using the current terminal device to the device server, and the server constructs a user profile of the current terminal device user based on the collected attribute parameters of the user, and adjusts and optimizes the adaptive configuration strategy for the startup and operation of the third-party application in the View attribute configuration file of the third-party application.

[0128] In this embodiment, various attribute parameters of the user using the current terminal device are collected through the terminal device, and a user portrait of the current terminal device user is constructed based on the collected various attribute parameters of the user. Based on the constructed user portrait of the current terminal device, the adaptive configuration strategy for the startup and operation of the third-party application in the View attribute configuration file of the third-party application installed on the current wearable device is adjusted and optimized.

[0129] It has been achieved that, based on the attribute parameters of the personal information and usage habits of users of wearable devices, the usage parameters of users' third-party applications are learned to adjust and optimize the adaptive configuration strategy of the third-party applications when they are started and run on wearable devices. On the premise of ensuring the normal operation of the third-party applications, the adaptive configuration strategy of the third-party applications for different users is further optimized and adjusted, meeting the different needs of different users for the operation of wearable devices, thereby improving the operating intelligence of the wearable devices and further improving the user experience.

[0130] In addition, a configuration system adapted to third-party applications is also proposed, the configuration system adapted to third-party applications comprising: a terminal device and a device server, the terminal device being communicatively connected to the device server, wherein:

[0131] The device server is used to obtain various adaptation parameters of the third-party application, generate a View attribute configuration file of the third-party application according to the various adaptation parameters, and push the View attribute configuration file to the terminal device;

[0132] The terminal device is used to extract the adaptation configuration policy of the third-party application from the View attribute configuration file when detecting the startup instruction of the third-party application, and start and run the third-party application based on the adaptation configuration policy.

[0133] Furthermore, the device server is also used for:

[0134] After detecting that the version of the third-party application is updated, obtaining new adaptation parameters of the third-party application;

[0135] The step of generating the View attribute configuration file is performed based on each of the new adaptation parameters, and the generated View attribute configuration file is pushed to the terminal device.

[0136] Among them, the steps implemented by the terminal device and the device server of the configuration system adapted to third-party applications can refer to the various embodiments of the configuration method adapted to third-party applications of the present invention, and will not be repeated here.

[0137] The present invention also provides a wearable device, the wearable device comprising: a memory, a processor, a communication bus, and a configuration program adapted to a third-party application stored in the memory:

[0138] The communication bus is used to realize the connection and communication between the processor and the memory;

[0139] The processor is used to execute the configuration program for third-party application adaptation to implement the steps of each embodiment of the above-mentioned configuration method for third-party application adaptation.

[0140] The present invention also provides a computer-readable storage medium, which stores one or more programs. The one or more programs can also be executed by one or more processors to implement the steps of each embodiment of the above-mentioned third-party application adaptation configuration method.

[0141] The specific implementation of the computer-readable storage medium of the present invention is basically the same as the various embodiments of the configuration method adapted to the third-party application described above, and will not be described in detail here.

[0142] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0143] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0144] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0145] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.

Claims

1. A configuration method for third-party application adaptation, applied to a wearable device, characterized in that: The configuration method adapted by the third-party application includes: Acquire various adaptation parameters of the third-party application, and generate a View attribute configuration file of the third-party application according to the various adaptation parameters, wherein the View attribute configuration file includes: an interface name, a View name, a View ID, a View display content, other View attributes, and an adaptation configuration strategy of the application View to which the third-party application View belongs; When a startup instruction of the third-party application is detected, an adaptation configuration strategy of the third-party application is extracted from the View attribute configuration file, where the adaptation configuration strategy includes: hiding, showing, clicking, clickable, non-clickable, adjusting width, adjusting height, slidable, and non-slidable; Based on the adaptive configuration strategy, starting and running the third-party application; The configuration method of the third-party application also includes: After detecting that the version of the third-party application is updated, obtaining new adaptation parameters of the third-party application; Generate the View attribute configuration file based on the new adaptation parameters; When an update installation instruction of the third-party application is detected, determining whether the View attribute configuration file of the third-party application after the version update is detected; If the View attribute configuration file is detected, allowing the third-party application with an updated version to be installed; The configuration method for third-party application adaptation further includes: When it is detected that the terminal builds a user portrait, the View attribute configuration file is adjusted and optimized based on the user portrait; When it is detected that the terminal builds a user portrait, the step of adjusting and optimizing the View attribute configuration file based on the user portrait includes: Collect various attribute parameters of the user through the terminal, and build a user profile of the current user based on the attribute parameters; Based on the user portrait, the adaptation configuration strategy in the attribute configuration file is adjusted.

2. The configuration method for third-party application adaptation according to claim 1, characterized in that: After the step of detecting whether the View attribute configuration file of the third-party application after the version update is contained, the method further includes: If the View attribute configuration file is not detected, the installation of the third-party application after the updated version is prohibited, and a prompt message indicating that the installation is currently prohibited is output.

3. A wearable device, characterized in that: The wearable device comprises: a memory, a processor, and a configuration program adapted to third-party applications stored in the memory and executable on the processor. When the configuration program adapted to third-party applications is executed by the processor, the steps of the configuration method adapted to third-party applications as described in any one of claims 1 to 2 are implemented.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a configuration program adapted to third-party applications. When the configuration program adapted to third-party applications is executed by a processor, the steps of the configuration method adapted to third-party applications as described in any one of claims 1 to 2 are implemented.