CN116382728A - Propagation name display method and terminal equipment - Google Patents

Propagation name display method and terminal equipment Download PDF

Info

Publication number
CN116382728A
CN116382728A CN202310215986.3A CN202310215986A CN116382728A CN 116382728 A CN116382728 A CN 116382728A CN 202310215986 A CN202310215986 A CN 202310215986A CN 116382728 A CN116382728 A CN 116382728A
Authority
CN
China
Prior art keywords
equipment
software update
pogo pin
pogopin
update package
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310215986.3A
Other languages
Chinese (zh)
Other versions
CN116382728B (en
Inventor
庞宇恒
吕斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310215986.3A priority Critical patent/CN116382728B/en
Publication of CN116382728A publication Critical patent/CN116382728A/en
Application granted granted Critical
Publication of CN116382728B publication Critical patent/CN116382728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/30Types of network names
    • H04L2101/365Application layer names, e.g. buddy names, unstructured names chosen by a user or home appliance name

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a propagation name display method and terminal equipment. The method for displaying the propagation name comprises the following steps: after communication connection is established between the Pogosin equipment and the main equipment, the main equipment completes software updating of the Pogosin equipment through interaction with the Pogosin equipment, and displays the equipment spreading name of the Pogosin equipment. According to the method provided by the application, the device propagation names of the Pogosin devices can be displayed on the display interface of the main device, so that a user can more intuitively see which device is the device for completing the software update, the user can conveniently distinguish the devices under the condition that the user has a plurality of Pogosin devices, the use experience of the user is improved, the user can more actively participate in the software update of the Pogosin devices, and the promotion of product upgrading is facilitated.

Description

Propagation name display method and terminal equipment
Technical Field
The application relates to the technical field of terminals, in particular to a propagation name display method and terminal equipment.
Background
The PogoPin is a precise connector widely applied to electronic products such as communication, automobiles, medical treatment, aerospace and the like, and is favored by the electronics and technology industry because of the corrosion resistance, durability and stability in communication. The pogo pin device can be connected with main devices such as a tablet personal computer and a mobile phone through the pogo pin so as to achieve corresponding functions, for example, a pogo pin keyboard can be connected with the tablet personal computer through the pogo pin, and therefore the functions of sending instructions, transmitting data and the like to the tablet personal computer are achieved. In general, software update of the pogo pin device needs to be implemented through the host device.
At present, when the pogo pin equipment is in the software updating process or after the software updating is finished, the spreading name of the pogo pin equipment cannot be displayed on the interface of the main equipment, if a plurality of pogo pin equipment exists and is connected with the main equipment at the same time, a user cannot intuitively know which pogo pin equipment is finished for software updating, and therefore user experience is poor. If the user refuses to update the software of the owned pogo pin device for a long time, on one hand, more complicated after-sales problems can be brought, and on the other hand, the iteration speed of the product can be seriously influenced because the software update package pushed by the server has no market feedback, and the risk of being eliminated by the market is faced.
Therefore, how to enable the pogo pin device to display the spreading name of the pogo pin device during software updating so as to optimize experience and accelerate product upgrading is a technical problem to be solved currently.
Disclosure of Invention
The application provides a propagation name display method and terminal equipment, which are used for optimizing experience and accelerating product upgrading by displaying the propagation name of PogoPin equipment during software updating.
In a first aspect, the present application provides a method for displaying a propagation name, which is applied to a system including a pogo pin device and a master device, where the pogo pin device is connected to the master device through a pogo pin, and the method includes: the main equipment sends a data access request to the Pogosin equipment, wherein the data access request is used for requesting equipment information of the Pogosin equipment, and the equipment information comprises equipment identification of the Pogosin equipment and equipment propagation names of the Pogosin equipment; the Pogosin equipment receives the data access request and sends equipment information of the Pogosin equipment to the main equipment based on the data access request; the main equipment receives equipment information of the PogoPin equipment and sends a software update package corresponding to the PogoPin equipment; the PogoPin equipment receives the software update package, completes software update based on the software update package, and sends indication information to the main equipment, wherein the indication information is used for indicating update success or update failure, and the indication information comprises equipment identification of the PogoPin equipment; and the main equipment receives the indication information, determines the equipment spreading name of the Pogospin equipment based on the indication information, and displays the equipment spreading name of the Pogospin equipment.
In one possible implementation manner, the data access request sent by the master device is used for requesting device information of the pogo pin device, where the device information includes a device identifier of the pogo pin device and a device propagation name of the pogo pin device, but if, due to a system configuration or the like, the device identifier of the pogo pin device and a storage address or an access right of the device propagation name in the pogo pin device are different, the data access request of the master device may be sent twice, and a first data access request for requesting the device identifier and a second data access request for requesting the device propagation name may be sent to the pogo pin device respectively.
It should be noted that, the pogpin for connecting the pogpin device and the master device can only implement single-channel communication, so the method provided in the embodiment of the present application is applied to: the pogo pin device establishes a communication connection with the master device, but does not operate the other device through one of the devices.
In the embodiment of the application, after communication connection is established between the PogoPin device and the main device, the main device completes software update of the PogoPin device through interaction with the PogoPin device, and displays the device propagation name of the PogoPin device. By the method provided by the embodiment, the device propagation names of the Pogosin devices can be displayed on the display interface of the main device, so that a user can more intuitively see which device is the device for completing the software update, the user can conveniently distinguish the devices under the condition that the user has a plurality of Pogosin devices, the use experience of the user is improved, the user can more actively participate in the software update of the Pogosin devices, and the promotion of the product upgrade is facilitated.
With reference to the first aspect, in certain implementations of the first aspect, the device identification includes one or more of: a device model number, a device serial number, a unique device identification code, or a media access control MAC address.
It should be understood that the device identifier herein refers to an identifier stored in the pogo pin device that does not change due to the update of the pogo pin device software.
With reference to the first aspect, in some implementations of the first aspect, the master device establishes a mapping relationship between a device identifier of the pogo pin device and a device propagation name of the pogo pin device based on device information of the pogo pin device; the determining the device propagation name of the pogo pin device based on the indication information comprises the following steps: and the main equipment determines the equipment propagation name of the PogoPin equipment based on the equipment identifier of the PogoPin equipment and the mapping relation included in the indication information.
It should be understood that the mapping relationship between the device identifier of the pogo pin device and the device propagation name of the pogo pin device, which is established by the host device, may be stored in a local database of the host device, where the local database may be located in a temporary storage medium in the host device as temporary cache data, or may be located in a nonvolatile memory in the host device that stores various fixed programs and data, and stored as permanent data.
In the embodiment of the present application, after receiving the device information sent by the pogo pin device, the master device establishes a mapping relationship between the device identifier and the device propagation name contained in the device information, and after completing updating and returning the indication message, the pogo pin device may determine the device propagation name of the pogo pin device according to the device identifier of the pogo pin device contained in the indication message and the stored mapping relationship between the device identifier of the pogo pin device and the device propagation name of the pogo pin device. According to the method provided by the embodiment of the invention, when the device information of a plurality of PogoPin devices is stored in the main device, the corresponding device propagation names can be still determined through the respective device identifiers, so that the device propagation names of the PogoPin devices can be correctly displayed.
With reference to the first aspect, in some implementation manners of the first aspect, the pogo pin device parses the data access request and determines whether the data access request includes a preset message header; the sending the device information of the pogo pin device to the master device includes: and if the data access request comprises the preset message packet header, the Pogosin equipment sends equipment information of the Pogosin equipment to the main equipment.
In the embodiment of the present application, after receiving a data access request sent by a master device, a pogo pin device should first parse the data access request, and if it is parsed that the data access request includes a preset message header, the pogo pin device sends device information of the pogo pin device to the master device. The preset message packet header can be used for authenticating the main equipment and also can be used for indicating that the corresponding purpose of the data access request is to update the software of the PogoPin equipment, so that a developer can identify the program code for updating the software, and convenience is brought to subsequent maintenance.
With reference to the first aspect, in certain implementation manners of the first aspect, the device information further includes a current software version number of the pogo pin device; before the software update package corresponding to the pogo pin device is sent to the pogo pin device, the method further includes: the master device obtains a software version number to be updated corresponding to the device identifier from a server; the main device judges whether the current software version number of the Pogosin device is the same as the software version number to be updated; if the software version numbers are different, the master device downloads the software update package from the server, wherein the software update package corresponds to the software version number to be updated; the sending the software update package corresponding to the pogo pin device includes: and after the software update package is downloaded, the main equipment sends the software update package to the Pogosin equipment.
It should be appreciated that the software version number to be updated may be either the latest software version number stored in the current server or any of the historical software version numbers. In the embodiment provided by the application, the software version number to be updated, which is obtained by default by the main device, is the latest software version number stored in the current server, and any software version number of the history can be obtained under the condition that the user actively sets the obtaining target, so that the user can select the software version of the PogoPin device according to the self requirement.
In the embodiment of the application, the current software version number of the PogoPin device and the software version number to be updated are judged by the main device, and the downloading of the software update package is carried out when the fact that the version numbers are different is confirmed, so that repeated updating of the same version of software of the PogoPin device is avoided, repeated occupation of a PogoPin channel between the main device and the PogoPin device is avoided, and meanwhile energy consumption is also saved.
With reference to the first aspect, in certain implementation manners of the first aspect, before the host device downloads the software update package from the server, the method further includes: the main equipment displays the equipment spreading name of the PogoPin equipment and a first selection button, wherein the first selection button is used for selecting whether to download a software update package; the master device downloading the software update package from the server, comprising: in response to a confirmation download operation by the user based on the first selection button, the host device downloads the software update package from the server.
With reference to the first aspect, in certain implementation manners of the first aspect, after the host device downloads the software update package from the server, the method further includes: the main equipment displays the equipment spreading name of the PogoPin equipment and a second selection button, wherein the second selection button is used for selecting whether to update software; the sending the software update package to the pogo pin device includes: and the main equipment transmits the software update package to the PogoPin equipment in response to the confirmation update operation based on the second selection button by the user.
In the embodiment of the application, the main device can intuitively display the device propagation name of the Pogospin device which is being subjected to software update in the process of performing the software update on the Pogospin device, and can execute corresponding actions based on the selection of a user, so that the user can control the software update process, and the user experience is improved.
In a second aspect, the present application provides a method for displaying a propagation name, which is applied to a master device, where the master device is connected to a pogo pin device through a pogo pin, and the method includes: the main equipment sends a data access request to the Pogosin equipment, wherein the data access request is used for requesting equipment information of the Pogosin equipment, and the equipment information comprises equipment identification of the Pogosin equipment and equipment propagation names of the Pogosin equipment; the main equipment receives equipment information of the Pogosin equipment from the Pogosin equipment and sends a software update package corresponding to the Pogosin equipment; the main equipment receives indication information from the PogoPin equipment, wherein the indication information is used for indicating success or failure of updating, and the indication information comprises equipment identification of the PogoPin equipment; and the main equipment determines the equipment spreading name of the Pogosin equipment based on the indication information and displays the equipment spreading name of the Pogosin equipment.
It should be noted that the host device includes a pogo pin service that provides a communication channel for the host device and the pogo pin device, and a software update service that may perform a software update for the pogo pin device.
In the embodiment provided by the application, after the main device is connected with the pogo pin device, the main device can communicate through the pogo pin communication channel to complete the software update of the pogo pin device, and the device propagation name of the pogo pin device is displayed according to the received indication information of the pogo pin device. By the method provided by the embodiment of the application, a user can more intuitively see which device is the device for completing the software updating, and under the condition that the user has a plurality of PogoPin devices, the user can distinguish conveniently, the user experience is improved, and the acceptance of the user to products is improved.
With reference to the second aspect, in certain implementations of the second aspect, the device identification includes one or more of: a device model number, a device serial number, a unique device identification code, or a media access control MAC address.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: the main equipment establishes a mapping relation between equipment identification of the PogoPin equipment and equipment propagation names of the PogoPin equipment based on the equipment information of the PogoPin equipment; the main device determines the device propagation name of the Pogosin device based on the indication information, and the method comprises the following steps: and the main equipment determines the equipment propagation name of the PogoPin equipment based on the equipment identifier of the PogoPin equipment and the mapping relation included in the indication information.
In the embodiment provided by the application, after receiving the device information sent by the pogo pin device, the master device establishes a mapping relationship between the device identifier and the device propagated name contained in the device information, and when receiving the indication message after the pogo pin device completes updating, the device propagated name of the pogo pin device can be determined according to the device identifier of the pogo pin device contained in the indication message and the stored mapping relationship between the device identifier of the pogo pin device and the device propagated name of the pogo pin device. According to the method provided by the embodiment of the invention, when the device information of a plurality of PogoPin devices is stored in the main device, the corresponding device propagation names can be still determined through the respective device identifiers, so that the device propagation names of the PogoPin devices can be correctly displayed.
With reference to the second aspect, in certain implementations of the second aspect, the device information further includes a current software version number of the pogo pin device; before the software update package corresponding to the pogo pin device is sent to the pogo pin device, the method further includes: the master device obtains a software version number to be updated corresponding to the device identifier from a server; the main device judges whether the current software version number of the Pogosin device is the same as the software version number to be updated; if the software version numbers are different, the master device downloads the software update package from the server, wherein the software update package corresponds to the software version number to be updated; the sending the software update package corresponding to the pogo pin device includes: and after the software update package is downloaded, the main equipment sends the software update package to the Pogosin equipment.
In the embodiment of the application, the current software version number of the PogoPin device and the software version number to be updated are judged by the main device, and the downloading of the software update package is carried out when the fact that the version numbers are different is confirmed, so that repeated updating of the same version of software of the PogoPin device is avoided, repeated occupation of a PogoPin channel between the main device and the PogoPin device is avoided, and meanwhile energy consumption is also saved.
With reference to the second aspect, in certain implementations of the second aspect, before the host device downloads the software update package from the server, the method further includes: the main equipment displays the equipment spreading name of the PogoPin equipment and a first selection button, wherein the first selection button is used for selecting whether to download a software update package; the master device downloading the software update package from the server, comprising: in response to a confirmation download operation by the user based on the first selection button, the host device downloads the software update package from the server.
With reference to the second aspect, in certain implementations of the second aspect, after the host device downloads the software update package from the server, the method further includes: the main equipment displays the equipment spreading name of the PogoPin equipment and a second selection button, wherein the second selection button is used for selecting whether to update software; the sending the software update package corresponding to the pogo pin device includes: and the main equipment transmits the software update package to the PogoPin equipment in response to the confirmation update operation based on the second selection button by the user.
In the embodiment provided by the application, in the process of carrying out software update on the Pogosin device, before and after the host device downloads the software update package from the server, the device spreading name and the selection button can be displayed, so that a user can intuitively know the software update process of the Pogosin device corresponding to the device spreading name, and the host device can execute subsequent operations based on user selection, thereby optimizing user experience.
In a third aspect, the present application provides a terminal device for performing the method in any one of the possible implementations of the second aspect. In particular, the terminal device comprises means for performing the method in any of the possible implementations of the second aspect described above.
Alternatively, the terminal device may include modules that perform the methods/operations/steps/actions described in the second aspect, where the modules may be implemented by hardware circuits, software, or a combination of hardware circuits and software.
In a fourth aspect, the present application provides a broadcast name display system, including a pogo pin device and a terminal device according to the third aspect, where the pogo pin device and the terminal device are connected by a pogo pin, so as to implement a broadcast name display method according to the first aspect.
In a fifth aspect, the present application provides a terminal device, including: a processor and a memory, the processor being configured to read instructions stored in the memory to perform the method of any one of the possible implementations of the second aspect described above.
Optionally, the processor is one or more and the memory is one or more.
Alternatively, the memory may be integrated with the processor or the memory may be separate from the processor.
In a specific implementation process, the memory may be a non-transient (non-transitory) memory, for example, a Read Only Memory (ROM), which may be integrated on the same chip as the processor, or may be separately disposed on different chips.
The terminal device in the fifth aspect may be a chip, and the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor, implemented by reading software code stored in a memory, which may be integrated in the processor, or may reside outside the processor, and exist separately.
In a sixth aspect, the present application provides a computer readable storage medium storing a computer program (which may also be referred to as code, or instructions) which, when run on a computer, causes the computer to perform the method of any one of the possible implementations of the second aspect described above.
In a seventh aspect, the present application provides a computer program product comprising: a computer program (which may also be referred to as code, or instructions) which, when executed, causes a computer to perform the method of any one of the possible implementations of the second aspect described above.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
fig. 2 is a software architecture block diagram of a terminal device provided in an embodiment of the present application;
FIG. 3 is a schematic flow chart of a method for displaying a propagation name provided in the present application;
FIG. 4 is a diagram of an example of a master device according to an embodiment of the present application;
fig. 5 is an exemplary diagram of a pogpin device provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a connection manner between a main device and a pogo pin device provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a display interface of a method for displaying a propagation name according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a display interface of another method for displaying a propagation name according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a display interface of another method for displaying a broadcast name according to an embodiment of the present disclosure;
FIG. 10 is a schematic flow chart diagram of another method for displaying a propagation name provided herein;
fig. 11 is a schematic block diagram of a terminal device provided in an embodiment of the present application;
fig. 12 is a schematic block diagram of another terminal device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the present application will be described below with reference to the accompanying drawings.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
The terminal devices may be classified into a pogo pin device and a master device according to their functions. The pogo pin device can be connected with a tablet personal computer, a mobile phone and other main devices through the pogo pin to achieve corresponding functions, for example, a pogo pin keyboard can be connected with the tablet personal computer through the pogo pin, and therefore the functions of sending instructions, transmitting data and the like to the tablet personal computer are achieved. In general, software update of the pogo pin device needs to be implemented through the host device.
At present, when the pogo pin equipment is in the software updating process or after the software updating is finished, the spreading name of the pogo pin equipment cannot be displayed on the interface of the main equipment, and if a user has a plurality of pogo pin equipment and all the pogo pin equipment needs to be connected with the same main equipment, the user cannot always intuitively know which pogo pin equipment is finished for software updating, so that the user experience is poor. If the user refuses to update the software of the owned pogo pin device for a long time, on one hand, more complicated after-sales problems can be brought, and on the other hand, the iteration speed of the product can be seriously influenced because the software update package pushed by the server has no market feedback, and the risk of being eliminated by the market is faced.
In view of this, the embodiment of the application provides a method for displaying a spreading name, which aims to enable a pogo pin device to display the spreading name during software updating so as to optimize user experience and accelerate product upgrading.
The terminal device provided by the embodiment of the application can be used as a main device to be connected with the pogo pin device to realize the method for displaying the propagation name, and the terminal device can be any device which can be connected with the pogo pin device through the pogo pin and has a display interface, and the specific technology and the specific device form adopted by the terminal device are not limited.
It should be noted that, the terminal device provided in the embodiment of the present application may also be used as a pogo pin device to connect with the main device, so as to implement the method for displaying a propagation name provided in the present application. The terminal device used as the pogo pin device may be a smart keyboard, a smart earphone, or the like, which may be connected to the main device through a precision connector, such as pogo pin, to implement a function or perform a software update. The specific technology and the specific equipment form adopted by the PogoPin equipment and the connected main equipment are not limited.
In order to better understand the embodiments of the present application, a description is given below of a terminal device related to the embodiments of the present application.
Fig. 1 is a schematic structural diagram of a terminal device 100 according to an embodiment of the present application.
The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, terminal device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include a PogoPin interface, an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The pogo pin interface is an interface formed by a precision connector (pogo pin) having a spring structure, and in some embodiments, the terminal device 100 may be communicatively connected to the pogo pin device through the pogo pin interface, so as to implement a function of the pogo pin device, operate the terminal device through the pogo pin device, or implement a software update of the pogo pin device.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the terminal device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing function of terminal device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display function of the terminal device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal device 100, or may be used to transfer data between the terminal device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other terminal devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. The charging management module 140 may also supply power to the terminal device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied to the terminal device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of terminal device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal device 100 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The terminal device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The terminal device 100 may implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the terminal device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record video in various encoding formats, for example: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the terminal device 100 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (such as audio data, phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or to handsfree talk through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device 100 receives a call or voice message, it is possible to receive voice by approaching the receiver 170B to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may be further provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The terminal device 100 determines the intensity of the pressure according to the change of the capacitance. When a touch operation is applied to the display 194, the terminal device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal device 100 may also calculate the position of the touch from the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 about three axes (i.e., x, y, and z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180B detects the angle of the shake of the terminal device 100, calculates the distance to be compensated by the lens module according to the angle, and allows the lens to counteract the shake of the terminal device 100 by the reverse motion, thereby realizing anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates altitude from barometric pressure values measured by the barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The terminal device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the terminal device 100 is a folder, the terminal device 100 may detect opening and closing of the folder according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E can detect the magnitude of acceleration of the terminal device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the terminal device 100 is stationary. The method can also be used for identifying the gesture of the terminal equipment, and is applied to the applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The terminal device 100 may measure the distance by infrared or laser. In some embodiments, the terminal device 100 may range using the distance sensor 180F to achieve fast focusing.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object in the vicinity of the terminal device 100. When insufficient reflected light is detected, the terminal device 100 may determine that there is no object in the vicinity of the terminal device 100. The terminal device 100 can detect that the user holds the terminal device 100 close to the ear to talk by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The terminal device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal device 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is for detecting temperature. In some embodiments, the terminal device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 performs a reduction in the performance of a processor located near the temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the terminal device 100 heats the battery 142 to avoid the low temperature causing the terminal device 100 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the terminal device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the terminal device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The terminal device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the terminal device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be contacted and separated from the terminal apparatus 100 by being inserted into the SIM card interface 195 or by being withdrawn from the SIM card interface 195. The terminal device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the terminal device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
The software system of the terminal device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the terminal device 100 is illustrated.
Fig. 2 is a software structural block diagram of the terminal device 100 provided in the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include software updates, gallery, camera, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The software update manager is used to pull up the software update service and manage its processes. For example, in the embodiment of the present application, the software update manager may be responsible for pulling up software update services to the pogo pin device, authenticating the pogo pin device, managing software update icons, and transferring data across devices.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The Pogosin service provider is used for providing communication channel service for the terminal equipment and the Pogosin equipment, so that the mutual access between various application programs of the terminal equipment and the Pogosin equipment can be realized.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, in the embodiment of the present application, the display interface includes the device propagation name of the pogo pin device.
The telephony manager is used to provide the communication functions of the terminal device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the terminal equipment vibrates, and an indicator light blinks.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), function library, etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The function library provides multiple service API interfaces for the developer, and is convenient for the developer to integrate and realize various functions quickly.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, a camera driver, a memory driver, an audio driver and a sensor driver. For example, in the embodiment of the present application, the communication service manager may implement communication with the server through related modules such as bluetooth driver and WiFi driver, and obtain a software version number to be updated and a corresponding software update package.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be implemented independently or combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 3 is a schematic flowchart of a method 300 for displaying a propagation name according to an embodiment of the present application. The broadcast name display method 300 is applied to a system comprising a Pogosin device and a master device, and is implemented by connecting the master device with the Pogosin device. For example, when the terminal device is used as the master device, the hardware structure may be as shown in fig. 1, and the software structure may be as shown in fig. 2, but the embodiment of the present application is not limited thereto.
Referring to fig. 3, the method for displaying a propagation name may specifically include the steps of:
s301, a main device sends a data access request to a PogoPin device, wherein the data access request is used for requesting device information of the PogoPin device, and the device information comprises a device identifier of the PogoPin device and a device propagation name of the Pogopin device. Correspondingly, the pogo pin device receives the data access request.
S302, the PogoPin device sends device information of the PogoPin device to the main device based on the data access request. Correspondingly, the master device receives device information of the pogo pin device.
S303, the main device sends a software update package corresponding to the PogoPin device based on the device information of the PogoPin device.
S304, the Pogosin equipment completes software updating based on the software updating package.
And S305, the PogoPin device sends indication information to the main device, wherein the indication information is used for indicating success or failure of updating, and the indication information comprises the device identification of the Pogopin device. Correspondingly, the master device receives the indication information.
S306, the main equipment determines the equipment spreading name of the PogoPin equipment based on the indication information, and displays the equipment spreading name of the PogoPin equipment.
In some possible implementations, after the host device and the pogo pin device are successfully connected through the pogo pin, the host device sends a data access request to the pogo pin device, where the data access request is used for requesting device information of the pogo pin device, and the device information includes a device identifier of the pogo pin device and a device propagation name of the pogo pin device. If, due to system configuration and other reasons, the device identifier of the pogo pin device and the storage address or access authority of the device propagation name in the pogo pin device are different, the data access request of the master device may be sent twice, and a first data access request for requesting the device identifier and a second data access request for requesting the device propagation name may be sent to the pogo pin device respectively.
In some possible implementations, after the pogo pin device receives the data access request, device information of the pogo pin device is sent to the master device based on the data access request. And the main equipment receives the equipment information of the PogoPin equipment and sends a software update package corresponding to the PogoPin equipment. The PogoPin equipment completes software updating based on the received software updating package, and automatically restarts, and after the restarting is successful, indication information is sent to the main equipment, wherein the indication information is used for indicating the updating success or the updating failure, and the indication information comprises equipment identification of the PogoPin equipment. The main device receives the indication information, determines the device propagation name of the PogoPin device based on the indication information, and displays the device propagation name of the PogoPin device.
It should be noted that, the pogo pin used for connecting the pogo pin device and the master device can only communicate in a single channel, so the method provided in the embodiment of the present application is applied to: the pogo pin device establishes a communication connection with the master device, but does not operate the other device through one of the devices.
In the embodiment provided by the application, after communication connection is established between the Pogosin equipment and the main equipment, the main equipment completes software update of the Pogosin equipment through interaction with the Pogosin equipment, and displays the equipment spreading name of the Pogosin equipment. By the method provided by the embodiment, the device propagation names of the Pogosin devices can be displayed on the display interface of the main device, so that a user can more intuitively see which device is the device for completing the software update, the user can conveniently distinguish the devices under the condition that the user has a plurality of Pogosin devices, the use experience of the user is improved, the user can more actively participate in the software update of the Pogosin devices, and the promotion of the product upgrade is facilitated.
As an alternative embodiment, the device identification includes one or more of the following: a device model number, a device serial number, a unique device identification code, or a media access control MAC address.
In one possible implementation, the device identifier may be one or more of a device model number, a device serial number, a unique device identification code, or a media access control MAC (media access control, MAC) address, where the device identifier is an identifier stored in the pogo pin device that does not change due to a software update of the pogo pin device.
As an optional embodiment, the master device establishes a mapping relationship between the device identifier of the pogo pin device and the device propagation name of the pogo pin device based on the device information of the pogo pin device. The determining the device propagation name of the pogo pin device based on the indication information includes: and the main equipment determines the equipment spreading name of the PogoPin equipment based on the equipment identification and the mapping relation of the PogoPin equipment included in the indication information.
In one possible implementation manner, after receiving the device information of the pogo pin device sent by the pogo pin device, the master device establishes a mapping relationship between the device identifier of the pogo pin device and the device propagation name of the pogo pin device, and stores the device information and the mapping relationship in a local database. It should be appreciated that the local database may be located in a temporary storage medium in the host device as temporary cache data or may be located in a non-volatile memory in the host device that stores various fixed programs and data, as permanent data. Illustratively, the temporary storage medium may be a random access memory (random access memory, RAM), and the nonvolatile memory may be a Read Only Memory (ROM).
In one possible implementation manner, the indication information sent to the master device by the pogo pin device after the software updating is completed includes a device identifier of the pogo pin device, and the master device determines a device propagation name corresponding to the device identifier based on the device identifier and a mapping relationship corresponding to the device identifier stored in a local database.
In the embodiment provided by the application, after receiving the device information sent by the pogo pin device, the master device establishes a mapping relationship between the device identifier and the device propagation name contained in the device information, and after completing updating and returning the indication message, the device propagation name of the pogo pin device can be determined according to the device identifier of the pogo pin device contained in the indication message and the stored mapping relationship between the device identifier of the pogo pin device and the device propagation name of the pogo pin device. According to the method provided by the embodiment of the invention, when the device information of a plurality of PogoPin devices is stored in the main device, the corresponding device propagation names can be still determined through the respective device identifiers, so that the device propagation names of the PogoPin devices can be correctly displayed.
As an optional embodiment, the pogo pin device analyzes the data access request, and determines whether the data access request includes a preset message packet header; the sending the device information of the pogo pin device to the master device includes: if the data access request contains a preset message packet header, the PogoPin device sends device information of the PogoPin device to the main device.
In one possible implementation manner, after receiving a data access request sent by a master device, the pogo pin device should firstly analyze the data access request, and if it is analyzed that the data access request includes a preset message header, the pogo pin device sends device information of the pogo pin device to the master device. The preset message packet header can be used for authenticating the main equipment and also can be used for indicating that the corresponding purpose of the data access request is to update the software of the PogoPin equipment, so that a developer can identify the program code for updating the software, and convenience is brought to subsequent maintenance. Alternatively, the preset message header may be 0107.
As an alternative embodiment, the device information further includes a current software version number of the pogo pin device; before sending the software update package corresponding to the pogo pin device, the method for displaying the propagation name provided by the embodiment of the application further includes: the method comprises the steps that a master device obtains a software version number to be updated corresponding to a device identifier from a server; judging whether the current software version number of the Pogosin equipment is the same as the software version number to be updated; if the software version numbers are different, the master device downloads a software update package from the server, wherein the software update package corresponds to the software version number to be updated; the sending the software update package corresponding to the pogo pin device includes: after the software update package is downloaded, the main device sends the software update package to the Pogosin device.
In a possible implementation manner, the device information of the pogo pin device received by the master device further includes a current software version number of the pogo pin device, after the software update service of the master device is pulled up, according to a device identifier included in the device information of the received pogo pin device, the software version number to be updated corresponding to the device identifier is obtained from a server, the software version number to be updated is compared with the current software version number of the pogo pin device, if the version numbers are different, the master device downloads a software update package corresponding to the software version number to be updated from the server, and after the software update package is downloaded, the latest downloaded software update package is sent to the pogo pin device.
In one possible implementation manner, the software version number to be updated, which is acquired by the master device by default, is the latest software version number stored in the current server, and in the case that the user actively sets the acquisition target, any software version number of the history may also be acquired, so that the user can select the software version of the pogo pin device according to the own requirement.
In the embodiment of the application, the current software version number of the PogoPin device and the software version number to be updated are judged by the main device, and the downloading of the software update package is carried out when the fact that the version numbers are different is confirmed, so that repeated updating of the same version of software of the PogoPin device is avoided, repeated occupation of PogoPin channels between the main device and the PogoPin device is avoided, and meanwhile energy consumption is also saved.
As an optional embodiment, before the host device downloads the software update package from the server, the method for displaying a propagation name provided in the embodiment of the present application further includes: the method comprises the steps that a main device displays a device spreading name of a PogoPin device and a first selection button, wherein the first selection button is used for selecting whether to download a software update package; the master device downloads a software update package from a server, including: in response to a confirmation download operation by the user based on the first selection button, the host device downloads the software update package from the server.
In one possible implementation, before the host device receives the device information sent by the pogo pin device and pulls up the software update service but does not download the software update package, the host device interface displays the device name of the pogo pin device and a first selection button for selecting whether to download the software update package. And after the user performs a selection operation for confirming the download according to the first selection button, downloading the software update package from the server in response to the confirmation download operation selected by the user.
As an optional embodiment, after the host device downloads the software update package from the server, the method for displaying a propagation name provided in the embodiment of the present application further includes: the main equipment displays the equipment spreading name of the PogoPin equipment and a second selection button, wherein the second selection button is used for selecting whether to update software; the sending of the software update package to the pogo pin device includes: in response to a confirmation update operation by the user based on the second selection button, the main device transmits a software update package to the pogo pin device.
In one possible implementation, after downloading the software update package but when the software update package has not yet been sent to the pogo pin device, the host device interface displays the device name of the pogo pin device and a second selection button for selecting whether to perform the software update. And after the user performs the selection operation of immediate update, responding to the selection operation of the user and sending the software update package to the Pogospin equipment so as to realize the software update of the Pogospin equipment.
In the embodiment of the application, the main device can intuitively display the device propagation name of the Pogospin device which is being subjected to software update in the process of performing the software update on the Pogospin device, and can execute subsequent actions based on the selection of a user, so that the user can control the software update process, and the user experience is improved.
For convenience of understanding, the method for displaying the spreading names provided in the present application is further described below by taking a main device as a tablet computer and a pogo pin device as a keyboard as an example. In this embodiment, the setting of the master device and the pogo pin device is only exemplary, and feasible combinations of other master devices and pogo pin devices are also within the protection scope of the present application.
As shown in fig. 4, fig. 4 (a) is a schematic front view of a main device provided in an embodiment of the present application, and fig. 4 (b) is a schematic back view of the main device provided in an embodiment of the present application. As shown in fig. 4 (b), there may be one or more pogo pin contacts 401 on the back of the main device, where the location of the pogo pin contacts on the main device is not specifically limited, and may be on the back of the main device, or on a side of the main device, or any available location.
The pogo pin device may be, for example, a keyboard as shown in fig. 5, on which pogo pin contacts 501 are provided. The embodiment of the application does not specifically limit the position of the contact point on the keyboard and the shape of the keyboard body.
Illustratively, a tablet computer as shown in fig. 4 may be connected with a keyboard as shown in fig. 5 through respective pogo pin contacts 401 and pogo pin contacts 501 thereon in the manner shown in fig. 6. It should be understood that the pogo pin device and the main device in any form should be matched with each other in the positions of the pogo pin contacts on the two devices when they are used together.
Illustratively, after the tablet computer shown in fig. 4 and the keyboard shown in fig. 5 are connected by the method shown in fig. 6, the user does not edit the tablet computer by using the keyboard, and the tablet computer is in a screen-up state. At this time, the tablet computer detects that the keyboard is accessed, namely, a data access request is sent to the keyboard to request the equipment information of the keyboard, and then the tablet computer automatically pulls up the software update service for the keyboard based on the acquired equipment information of the keyboard.
In one possible implementation, the device information for a keyboard includes a device identification, a current software version number, and a device propagation name for the keyboard. The device propagation name can be edited and saved by the user, for example, the device propagation name can be set as follows: and a blue keyboard of Zhangsan. The device propagation name displayed in the process of updating the software of the keyboard can be the latest edited and saved propagation name of the user, so that the user can intuitively recognize which device is being updated.
Fig. 7 is a schematic diagram of a display interface of a method for displaying a propagation name according to an embodiment of the present application. After the tablet computer pulls up the software updating service of the keyboard, according to the acquired equipment information of the keyboard, judging that the current software version number contained in the equipment information is different from the software version number to be updated, displaying "(1)" on the upper right corner of the corresponding software updating application icon on the main screen interface of the tablet computer, wherein the fact that software updating is available is shown in fig. 7 (a); in response to the clicking operation of the icon by the user, the tablet pc jumps to the display interface shown in fig. 7 (b), where the interface may display at least the propagation name of the keyboard and a first selection button, where the first selection button is used for the user to select whether to download the software upgrade package corresponding to the software version number to be updated. Optionally, the interface may also display other information such as the software version number to be updated, the size of the software upgrade package corresponding to the version, and the history problem solved by the current software update.
Illustratively, in response to the user clicking the confirm download button in fig. 7 (b), the tablet computer downloads a software update package corresponding to the software version number to be updated from the server, and after the download is completed, the tablet computer jumps to a display interface as shown in fig. 7 (c), which can display at least the propagation name of the keyboard and a second selection button for the user to select whether to update immediately. Optionally, the interface may also display other information such as the software version number to be updated, the size of the software upgrade package corresponding to the version, the history problem solved by the current software update, and the download status of the software update package.
Illustratively, in response to the user clicking the confirm update button in fig. 7 (c), the tablet computer sends the downloaded software update package to the keyboard, so that after the keyboard completes the software update according to the software update package and is restarted, the indication information is sent to the tablet computer, and the tablet computer can jump the display interface to the display interface shown in fig. 7 (d) according to the software update success information contained in the indication information. Optionally, if the software update of the keyboard fails, the indication information obtained by the tablet computer includes the software update failure information, and at this time, the display interface of the tablet computer may include at least the propagation name of the keyboard and the prompt information of the software update failure.
It should be noted that, if the user clicks the "later alert" button on the display interface as shown in fig. 7 (b) or fig. 7 (c), the user should be reminded to perform the subsequent operation after the default period preset by the tablet computer in response to the operation by the user. The preset default period may also be set by the user, for example, 1 hour later, and the operation may be reminded again.
Fig. 8 is a schematic diagram of a display interface of another method for displaying a propagation name according to an embodiment of the present application. After the tablet computer pulls up the software updating service of the keyboard, when judging that the current software version number contained in the equipment information is different from the software version number to be updated according to the acquired equipment information of the keyboard, the tablet computer can also directly display a prompt box shown in fig. 8 (a) on a main screen, wherein the prompt box is used for displaying the propagation name of the keyboard and a first selection button, and the first selection button is used for a user to select whether to download a software upgrading packet corresponding to the software version number to be updated; in response to the user clicking the download button in fig. 8 (a), the tablet computer downloads a software update package corresponding to the software version number to be updated from the server, and after the downloading is completed, displays a prompt box as shown in fig. 8 (b) on the main screen, wherein the prompt box is used for displaying the propagation name of the keyboard and a second selection button, and the second selection button is used for the user to select whether to update immediately; in response to the user clicking the confirm update button in fig. 8 (b), the tablet computer sends the downloaded software update package to the keyboard, so that the keyboard sends the indication information to the tablet computer after completing the software update and restarting according to the software update package, and the tablet computer can display the prompt box interface shown in fig. 8 (c) according to the software update success information contained in the indication information. As shown in fig. 8, in the process of performing software update on the keyboard by the tablet computer, the user can intuitively know the software update process and the final state of the keyboard with the spreading name of "Zhang san blue keyboard", thereby improving the use experience of the user.
Fig. 9 is a schematic diagram of a display interface of another method for displaying a broadcast name according to an embodiment of the present application, as shown in fig. 9, where the display interface of the tablet computer described in fig. 8 may also be embodied in a form of fig. 9, and in fig. 9, the display interface of the tablet computer is shown in a form of a notification bar at the top of the tablet computer: the interaction between the tablet pc and the keyboard in this process is similar to those in fig. 7 and 8, and will not be repeated. The display form of the spreading name of the keyboard in the software upgrading process is not particularly limited.
In one possible implementation manner, the user can select the opportunity of performing software update on the keyboard by himself through the tablet computer, if the user selects silent update, the software update on the keyboard is performed in the screen-off state of the tablet computer, and the software update state of the keyboard is displayed when the user opens the tablet computer next time. Alternatively, the display mode may be in the form of fig. 8 (c) or fig. 9 (c), etc.
Fig. 10 is a schematic flow chart diagram of another method 1000 for displaying a propagation name provided in the present application. The method 1000 is applied to a system comprising a pogo pin device and a master device, and is implemented by connecting the master device to the pogo pin device. The main equipment comprises a Pogosin service and a software update service, wherein the Pogosin service provides a communication channel for the main equipment and the Pogosin equipment, and the software update service can update software for the Pogosin equipment. Referring to fig. 10, the method 1000 for displaying a propagation name may specifically include the following steps:
s1001, the PogoPin service sends a data access request to the PogoPin device, wherein the data access request is used for requesting device information of the PogoPin device, and the device information comprises a device identifier of the Pogopin device and a device propagation name of the Pogopin device. Correspondingly, the pogo pin device receives the data access request.
S1002, the Pogosin device sends device information of the Pogosin device to the Pogosin service based on the data access request. Correspondingly, the pogo pin service receives device information of the pogo pin device.
S1003, the PogoPin service sends the device information of the PogoPin device to the software updating service to pull up the software updating service.
S1004, the software updating service receives the equipment information of the PogoPin equipment, establishes a mapping relation between the equipment identification of the PogoPin equipment and the equipment propagation name of the PogoPin equipment based on the equipment information, and stores the mapping relation of the equipment identification, the equipment propagation name and the pair thereof.
S1005, the software update service acquires a software version number to be updated corresponding to the equipment identifier from the server; judging whether the current software version number contained in the equipment information of the Pogosin equipment is the same as the software version number to be updated; if the device broadcast names are different, the device broadcast names of the PogoPin devices and a first selection button are displayed, and the first selection button is used for selecting whether to download the software update package.
S1006, the software updating service downloads the software updating package from the server in response to the confirmed downloading operation by the user based on the first selection button, and displays the device propagation name of the PogoPin device and the second selection button after the downloading is completed, wherein the second selection button is used for selecting whether to update the software.
S1007, the software update service responds to the confirmation update operation by the user based on the second selection button.
S1008, the software update service sends the software update package to the Pogospin device through the Pogospin service. Accordingly, the pogo pin device receives the software update package.
S1009, the pogo pin device completes the software update based on the software update package, and restarts.
S1010, the Pogosin device sends indication information to the software update service through the Pogosin service, wherein the indication information is used for indicating success or failure of update, and the indication information comprises a device identifier of the Pogosin device. Correspondingly, the software update service receives the indication information.
S1011, the software updating service determines the device spreading name of the PogoPin device based on the device identification of the PogoPin device included in the indication information and the mapping relation between the stored device identification and the device spreading name, and displays the device spreading name of the PogoPin device.
In one possible implementation manner, after the master device and the pogo pin device are connected through the pogo pin, the pogo pin service in the master device detects the pogo pin device connected by the master device, that is, sends a data access request to the pogo pin device, where the data access request is used to request device information of the pogo pin device, and the device information includes a device identifier of the pogo pin device, a device propagation name of the pogo pin device, and a current software version number of the pogo pin device. The device identification includes one or more of a device model number, a device serial number, a unique device identification code, or a MAC address.
In the embodiment provided by the application, after the main device is connected with the pogo pin device, interaction can be performed through the pogo pin communication channel to complete software update of the pogo pin device, and before and/or after the software update service of the main device downloads a software update package from the server, the device spreading name and the selection button can be displayed, so that a user can intuitively know the software update process of the pogo pin device corresponding to the device spreading name, and finally, the device spreading name of the pogo pin device and a software update result thereof can be displayed according to the received indication information of the pogo pin device. By the method provided by the embodiment of the application, a user can more intuitively see which device is the device for completing the software updating, and under the condition that the user has a plurality of PogoPin devices, the user can distinguish conveniently, the user experience is improved, and the acceptance of the user to products is improved.
It should be understood that, in the embodiments of the present application, the sequence number of each process described above does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The propagation name display method of the embodiment of the present application is described in detail above with reference to fig. 1 to 10, and the terminal device of the embodiment of the present application will be described in detail below with reference to fig. 11 and 12.
Fig. 11 is a schematic structural diagram of a terminal device provided in the present application. Referring to fig. 11, the terminal apparatus 1100 includes: a transceiver module 1101 and a processing module 1102.
The transceiver module 1101 is configured to send a data access request to a pogo pin device, where the data access request is used to request device information of the pogo pin device, and the device information includes a device identifier of the pogo pin device and a device propagation name of the pogo pin device; the transceiver module 1101 is further configured to receive device information of a pogo pin device from the pogo pin device, and send a software update package corresponding to the pogo pin device; the indication information is used for indicating success or failure of updating, and comprises an equipment identifier of the PogoPin equipment; and a processing module 1102, configured to determine a device propagation name of the pogo pin device based on the indication information, and display the device propagation name of the pogo pin device.
Optionally, the device identification includes one or more of: a device model number, a device serial number, a unique device identification code, or a media access control MAC address.
Optionally, the processing module 1102 is further configured to establish a mapping relationship between a device identifier of the pogo pin device and a device propagation name of the pogo pin device based on the device information of the pogo pin device; and determining the device propagation name of the PogoPin device based on the device identification and the mapping relation of the PogoPin device included in the indication information.
Optionally, the device information further includes a current software version number of the pogo pin device; the processing module 1102 is further configured to obtain a software version number to be updated corresponding to the device identifier from the server; judging whether the current software version number of the Pogosin equipment is the same as the software version number to be updated; if the software version numbers are different, downloading a software update package from the server, wherein the software update package corresponds to the software version number to be updated; the transceiver module 1101 is specifically configured to send the software update package to the pogo pin device after the software update package is downloaded.
Optionally, the processing module 1102 is further configured to display, before downloading the software update package from the server, a device propagation name of the pogo pin device and a first selection button, where the first selection button is used to select whether to download the software update package; and downloading the software update package from the server in response to a confirmation download operation by the user based on the first selection button.
Optionally, the processing module 1102 is further configured to display, after downloading the software update package from the server, a device propagation name of the pogo pin device and a second selection button, where the second selection button is used to select whether to perform the software update; and transmitting a software update package to the PogoPin device in response to a confirmation update operation by the user based on the second selection button.
It should be understood that the terminal device 1100 herein is embodied in the form of functional modules. The term module herein may refer to an application specific integrated circuit (application specific integrated circuit, ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor, etc.) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an alternative example, it will be understood by those skilled in the art that the terminal device 1100 may be specifically a master device in the foregoing embodiment, and the terminal device 1100 may be configured to perform each flow and/or step corresponding to the master device in the foregoing method embodiment, which is not described herein for avoiding repetition.
The terminal device 1100 has a function of implementing the corresponding steps executed by the main device in the method; the above functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above. For example, the transceiver module 1101 may include a transmitting module and a receiving module, where the transmitting module may be configured to implement respective steps and/or processes for performing a transmitting action corresponding to the transceiver module, and the receiving module may be configured to implement respective steps and/or processes for performing a receiving action corresponding to the transceiver module. The transmitting module may be replaced by a transmitter, and the receiving module may be replaced by a receiver, for performing the transceiving operations and the associated processing operations in the respective method embodiments, respectively.
In the embodiment of the present application, the terminal device 1100 in fig. 11 may also be a chip or a chip system, for example: system On Chip (SOC). Correspondingly, the transceiver module 1101 may be a transceiver circuit of the chip, which is not limited herein.
Fig. 12 is a schematic block diagram of another terminal device 1200 provided in an embodiment of the present application. The apparatus 1200 includes a processor 1201, a transceiver 1202, and a memory 1203. Wherein the processor 1201, the transceiver 1202 and the memory 1203 are in communication with each other via an internal connection path, the memory 1203 is configured to store instructions, and the processor 1201 is configured to execute the instructions stored in the memory 1203 to control the transceiver 1202 to receive and/or transmit signals.
It should be appreciated that the apparatus 1200 may be embodied as a master device in the above embodiments, and may be configured to perform the steps and/or flows corresponding to the master device in the above methods. The memory 1203 may optionally include read only memory and random access memory and provide instructions and data to the processor 1201. A portion of the memory may also include non-volatile random access memory. For example, the memory 1203 may also store information of a device type. The processor 1201 may be configured to execute instructions stored in the memory 1203, and when the processor 1201 executes the instructions stored in the memory, the processor 1201 is configured to perform the various steps and/or flows of the methods described above. The transceiver 1202 may include a transmitter that may be used to implement various steps and/or processes for performing transmit actions corresponding to the transceiver and a receiver that may be used to implement various steps and/or processes for performing receive actions corresponding to the transceiver.
It should be appreciated that in embodiments of the present application, the processor may be a central processing unit (central processing unit, CPU), the processor may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor executes instructions in the memory to perform the steps of the method described above in conjunction with its hardware. To avoid repetition, a detailed description is not provided herein.
The embodiment of the application also provides a propagation name display system. The propagation name display system includes: pogpin device and terminal device 1100 shown in fig. 11, or pogpin device and terminal device 1200 shown in fig. 12. The pogpin device and the terminal device (terminal device 1100 or terminal device 1200) are connected through the pogpin, and may be used to implement the corresponding broadcast name display method in the above embodiment.
The present application also provides a computer-readable storage medium for storing a computer program for implementing the method corresponding to the host device in the above embodiment.
The present application also provides a computer program product comprising computer program code for performing the method corresponding to the main device shown in the above embodiments when the computer program code runs on a computer.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
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 may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any person skilled in the art may easily think about changes or substitutions within the technical scope of the embodiments of the present application, and the changes or substitutions are intended to be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (22)

1. A broadcast name display method, applied to a system including a pogo pin device and a master device, the pogo pin device being connected to the master device through pogo pin, the method comprising:
the main equipment sends a data access request to the Pogosin equipment, wherein the data access request is used for requesting equipment information of the Pogosin equipment, and the equipment information comprises equipment identification of the Pogosin equipment and equipment propagation names of the Pogosin equipment;
the Pogosin equipment receives the data access request and sends equipment information of the Pogosin equipment to the main equipment based on the data access request;
the main equipment receives equipment information of the PogoPin equipment and sends a software update package corresponding to the PogoPin equipment;
the PogoPin equipment receives the software update package, completes software update based on the software update package, and sends indication information to the main equipment, wherein the indication information is used for indicating update success or update failure, and the indication information comprises equipment identification of the PogoPin equipment;
and the main equipment receives the indication information, determines the equipment spreading name of the Pogospin equipment based on the indication information, and displays the equipment spreading name of the Pogospin equipment.
2. The method of claim 1, wherein the device identification comprises one or more of: a device model number, a device serial number, a unique device identification code, or a media access control MAC address.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
the main equipment establishes a mapping relation between equipment identification of the PogoPin equipment and equipment propagation names of the PogoPin equipment based on the equipment information of the PogoPin equipment;
the determining the device propagation name of the pogo pin device based on the indication information comprises the following steps:
and the main equipment determines the equipment propagation name of the PogoPin equipment based on the equipment identifier of the PogoPin equipment and the mapping relation included in the indication information.
4. A method according to any one of claims 1 to 3, further comprising:
the PogoPin equipment analyzes the data access request and judges whether the data access request contains a preset message packet header or not;
the sending the device information of the pogo pin device to the master device includes:
and if the data access request comprises the preset message packet header, the Pogosin equipment sends equipment information of the Pogosin equipment to the main equipment.
5. The method of any one of claims 1 to 4, wherein the device information further comprises a current software version number of the pogo pin device;
before the software update package corresponding to the pogo pin device is sent to the pogo pin device, the method further includes:
the master device obtains a software version number to be updated corresponding to the device identifier from a server;
the main device judges whether the current software version number of the Pogosin device is the same as the software version number to be updated;
if the software version numbers are different, the master device downloads the software update package from the server, wherein the software update package corresponds to the software version number to be updated;
the sending the software update package corresponding to the pogo pin device includes:
and after the software update package is downloaded, the main equipment sends the software update package to the Pogosin equipment.
6. The method of claim 5, wherein prior to the host device downloading the software update package from the server, the method further comprises:
the main equipment displays the equipment spreading name of the PogoPin equipment and a first selection button, wherein the first selection button is used for selecting whether to download a software update package;
The master device downloading the software update package from the server, comprising:
in response to a confirmation download operation by the user based on the first selection button, the host device downloads the software update package from the server.
7. The method of claim 5 or 6, further comprising, after the host device downloads the software update package from the server:
the main equipment displays the equipment spreading name of the PogoPin equipment and a second selection button, wherein the second selection button is used for selecting whether to update software;
the sending the software update package to the pogo pin device includes:
and the main equipment transmits the software update package to the PogoPin equipment in response to the confirmation update operation based on the second selection button by the user.
8. A method for displaying a broadcast name, the method being applied to a master device, the master device being connected to a pogo pin device through a pogo pin, the method comprising:
the main equipment sends a data access request to the Pogosin equipment, wherein the data access request is used for requesting equipment information of the Pogosin equipment, and the equipment information comprises equipment identification of the Pogosin equipment and equipment propagation names of the Pogosin equipment;
The main equipment receives equipment information of the Pogosin equipment from the Pogosin equipment and sends a software update package corresponding to the Pogosin equipment;
the main equipment receives indication information from the PogoPin equipment, wherein the indication information is used for indicating success or failure of updating, and the indication information comprises equipment identification of the PogoPin equipment;
and the main equipment determines the equipment spreading name of the Pogosin equipment based on the indication information and displays the equipment spreading name of the Pogosin equipment.
9. The method of claim 8, wherein the device identification comprises one or more of: a device model number, a device serial number, a unique device identification code, or a media access control MAC address.
10. The method according to claim 9, wherein the method further comprises:
the main equipment establishes a mapping relation between equipment identification of the PogoPin equipment and equipment propagation names of the PogoPin equipment based on the equipment information of the PogoPin equipment;
the main device determines the device propagation name of the Pogosin device based on the indication information, and the method comprises the following steps:
And the main equipment determines the equipment propagation name of the PogoPin equipment based on the equipment identifier of the PogoPin equipment and the mapping relation included in the indication information.
11. The method according to any one of claims 8 to 10, wherein the device information further comprises a current software version number of the pogo pin device;
before the software update package corresponding to the pogo pin device is sent to the pogo pin device, the method further includes:
the master device obtains a software version number to be updated corresponding to the device identifier from a server;
the main device judges whether the current software version number of the Pogosin device is the same as the software version number to be updated;
if the software version numbers are different, the master device downloads the software update package from the server, wherein the software update package corresponds to the software version number to be updated;
the sending the software update package corresponding to the pogo pin device includes:
and after the software update package is downloaded, the main equipment sends the software update package to the Pogosin equipment.
12. The method of claim 11, wherein prior to the host device downloading the software update package from the server, the method further comprises:
The main equipment displays the equipment spreading name of the PogoPin equipment and a first selection button, wherein the first selection button is used for selecting whether to download a software update package;
the master device downloading the software update package from the server, comprising:
in response to a confirmation download operation by the user based on the first selection button, the host device downloads the software update package from the server.
13. The method according to claim 11 or 12, wherein after the host device downloads the software update package from the server, the method further comprises:
the main equipment displays the equipment spreading name of the PogoPin equipment and a second selection button, wherein the second selection button is used for selecting whether to update software;
the sending the software update package corresponding to the pogo pin device includes:
and the main equipment transmits the software update package to the PogoPin equipment in response to the confirmation update operation based on the second selection button by the user.
14. A terminal device, comprising:
the device comprises a receiving and transmitting module, a transmitting module and a receiving module, wherein the receiving and transmitting module is used for transmitting a data access request to a PogoPin device, the data access request is used for requesting device information of the PogoPin device, and the device information comprises a device identifier of the PogoPin device and a device propagation name of the PogoPin device;
The receiving and transmitting module is further configured to receive device information of the pogo pin device from the pogo pin device, and send a software update package corresponding to the pogo pin device; the indication information is used for receiving indication information from the PogoPin equipment, the indication information is used for indicating success or failure of updating, and the indication information comprises equipment identification of the PogoPin equipment;
and the processing module is used for determining the equipment spreading name of the Pogosin equipment based on the indication information and displaying the equipment spreading name of the Pogosin equipment.
15. The terminal device of claim 14, wherein the device identification comprises one or more of: a device model number, a device serial number, a unique device identification code, or a media access control MAC address.
16. The terminal device according to claim 14 or 15, further comprising:
the processing module is further configured to establish a mapping relationship between an equipment identifier of the pogo pin equipment and an equipment propagation name of the pogo pin equipment based on the equipment information of the pogo pin equipment; and determining the device propagation name of the PogoPin device based on the device identifier of the PogoPin device and the mapping relation included in the indication information.
17. The terminal device according to any of the claims 14 to 16, characterized in that the device information further comprises a current software version number of the pogo pin device;
the processing module is further used for acquiring a software version number to be updated corresponding to the equipment identifier from a server; judging whether the current software version number of the Pogosin equipment is the same as the software version number to be updated; if the software version numbers are different, downloading the software update package from the server, wherein the software update package corresponds to the software version number to be updated;
the transceiver module is specifically configured to send the software update package to the pogo pin device after the software update package is downloaded.
18. The terminal device of claim 17, wherein the processing module is further configured to display a device propagation name of the pogo pin device and a first selection button for selecting whether to download the software update package before downloading the software update package from the server; and downloading the software update package from the server in response to a confirmation download operation by the user based on the first selection button.
19. The terminal device according to claim 17 or 18, wherein the processing module is further configured to display a device propagation name of the pogo pin device and a second selection button for selecting whether to perform a software update after downloading the software update package from the server; and transmitting the software update package to the PogoPin device in response to a confirmation update operation performed by a user based on the second selection button.
20. A terminal device, comprising: a processor coupled to a memory for storing a computer program which, when invoked by the processor, causes the terminal device to perform the method of any of claims 8 to 13.
21. A computer readable storage medium storing a computer program comprising instructions for implementing the method of any one of claims 8 to 13.
22. A computer program product comprising computer program code embodied therein, which when run on a computer causes the computer to carry out the method according to any one of claims 8 to 13.
CN202310215986.3A 2023-02-24 2023-02-24 Propagation name display method and terminal equipment Active CN116382728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310215986.3A CN116382728B (en) 2023-02-24 2023-02-24 Propagation name display method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310215986.3A CN116382728B (en) 2023-02-24 2023-02-24 Propagation name display method and terminal equipment

Publications (2)

Publication Number Publication Date
CN116382728A true CN116382728A (en) 2023-07-04
CN116382728B CN116382728B (en) 2023-11-21

Family

ID=86979756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310215986.3A Active CN116382728B (en) 2023-02-24 2023-02-24 Propagation name display method and terminal equipment

Country Status (1)

Country Link
CN (1) CN116382728B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080037450A (en) * 2006-10-26 2008-04-30 웹싱크 주식회사 System and method for processing update software run on mobile terminal platform
US8337256B1 (en) * 2011-08-26 2012-12-25 Cheng Uei Precision Industry Co., Ltd. Pogo-pin connector
CN103188561A (en) * 2011-12-30 2013-07-03 三星电子株式会社 Display apparatus, upgrading apparatus, display system and control method thereof
WO2013185570A1 (en) * 2012-06-13 2013-12-19 腾讯科技(深圳)有限公司 Software update method, software update system and computer storage medium
US20140282480A1 (en) * 2013-03-15 2014-09-18 Apple Inc. Providing A Unified Update Center for Security Software Updates and Application Software Updates
US20150178061A1 (en) * 2013-12-19 2015-06-25 Cellco Partnership (D/B/A Verizon Wireless) Application assisted software update for connected devices without a display
WO2017219496A1 (en) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 Electronic device and signal detection method
CN207573001U (en) * 2017-10-19 2018-07-03 前海哆啦阿梦(深圳)数据服务有限公司 Charger baby with display multimedia messages
US20200050239A1 (en) * 2018-08-08 2020-02-13 Hewlett-Packard Development Company, L.P. Adjustment control mechanisms of pogo pins
US20200265001A1 (en) * 2017-10-27 2020-08-20 Samsung Electronics Co., Ltd. Communication method using input/output interface, and apparatus therefor
CN112162764A (en) * 2020-10-30 2021-01-01 海信视像科技股份有限公司 Display device, server and camera software upgrading method
CN113672266A (en) * 2021-08-24 2021-11-19 Oppo广东移动通信有限公司 Firmware upgrading method and device, charging box and storage medium
CN113885851A (en) * 2020-07-01 2022-01-04 横河电机株式会社 Software development environment providing system, method, and non-transitory computer-readable medium
US20220067163A1 (en) * 2020-08-28 2022-03-03 Coretronic Corporation Electronic-device control system and electronic-device control method
WO2022055291A1 (en) * 2020-09-14 2022-03-17 삼성전자 주식회사 Electronic device and method for updating electronic device
CN216901179U (en) * 2022-02-18 2022-07-05 所乐思(深圳)科技有限公司 Intelligent glasses equipment and intelligent hinge assembly

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080037450A (en) * 2006-10-26 2008-04-30 웹싱크 주식회사 System and method for processing update software run on mobile terminal platform
US8337256B1 (en) * 2011-08-26 2012-12-25 Cheng Uei Precision Industry Co., Ltd. Pogo-pin connector
CN103188561A (en) * 2011-12-30 2013-07-03 三星电子株式会社 Display apparatus, upgrading apparatus, display system and control method thereof
US20130174042A1 (en) * 2011-12-30 2013-07-04 Samsung Electronics Co., Ltd. Display apparatus, upgrading apparatus, display system and control method thereof
WO2013185570A1 (en) * 2012-06-13 2013-12-19 腾讯科技(深圳)有限公司 Software update method, software update system and computer storage medium
US20140282480A1 (en) * 2013-03-15 2014-09-18 Apple Inc. Providing A Unified Update Center for Security Software Updates and Application Software Updates
US20150178061A1 (en) * 2013-12-19 2015-06-25 Cellco Partnership (D/B/A Verizon Wireless) Application assisted software update for connected devices without a display
WO2017219496A1 (en) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 Electronic device and signal detection method
CN207573001U (en) * 2017-10-19 2018-07-03 前海哆啦阿梦(深圳)数据服务有限公司 Charger baby with display multimedia messages
US20200265001A1 (en) * 2017-10-27 2020-08-20 Samsung Electronics Co., Ltd. Communication method using input/output interface, and apparatus therefor
US20200050239A1 (en) * 2018-08-08 2020-02-13 Hewlett-Packard Development Company, L.P. Adjustment control mechanisms of pogo pins
CN113885851A (en) * 2020-07-01 2022-01-04 横河电机株式会社 Software development environment providing system, method, and non-transitory computer-readable medium
US20220067163A1 (en) * 2020-08-28 2022-03-03 Coretronic Corporation Electronic-device control system and electronic-device control method
WO2022055291A1 (en) * 2020-09-14 2022-03-17 삼성전자 주식회사 Electronic device and method for updating electronic device
CN112162764A (en) * 2020-10-30 2021-01-01 海信视像科技股份有限公司 Display device, server and camera software upgrading method
CN113672266A (en) * 2021-08-24 2021-11-19 Oppo广东移动通信有限公司 Firmware upgrading method and device, charging box and storage medium
CN216901179U (en) * 2022-02-18 2022-07-05 所乐思(深圳)科技有限公司 Intelligent glasses equipment and intelligent hinge assembly

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
双盟电子: "电子产品更新迭代, {pogopin连接器}凭什么占据一席之地", Retrieved from the Internet <URL:https://www.sunmontech.cn/article/150.html> *
李海峰;刘晨;孙艳冬;申学良;: "Pogo pin系列弹针连接器的设计研究", 机电元件, no. 04 *

Also Published As

Publication number Publication date
CN116382728B (en) 2023-11-21

Similar Documents

Publication Publication Date Title
CN112231025B (en) UI component display method and electronic equipment
CN113254409B (en) File sharing method, system and related equipment
CN113704205B (en) Log storage method, chip, electronic device and readable storage medium
CN111343326A (en) Method and related device for acquiring test log
CN114579389A (en) Application management method, device, equipment and storage medium
CN111580671A (en) Video image processing method and related device
CN115914461B (en) Position relation identification method and electronic equipment
CN114915747B (en) Video call method, electronic device and readable storage medium
CN114828098B (en) Data transmission method and electronic equipment
CN116382728B (en) Propagation name display method and terminal equipment
CN116032942A (en) Method, device, equipment and storage medium for synchronizing cross-equipment navigation tasks
CN115373957A (en) Application killing method and device
CN113867851A (en) Electronic equipment operation guide information recording method, electronic equipment operation guide information acquisition method and terminal equipment
CN116450026B (en) Method and system for identifying touch operation
CN116095224B (en) Notification display method and terminal device
CN116320880B (en) Audio processing method and device
CN115619628B (en) Image processing method and terminal equipment
CN116389884B (en) Thumbnail display method and terminal equipment
CN115513571B (en) Control method of battery temperature and terminal equipment
CN115495716B (en) Local authentication method and electronic equipment
CN116095223B (en) Notification display method and terminal device
CN116048831B (en) Target signal processing method and electronic equipment
CN116048629B (en) System service switching method, control device, electronic equipment and storage medium
CN116703741B (en) Image contrast generation method and device and electronic equipment
CN117177216A (en) Information interaction method and device and electronic equipment

Legal Events

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