CN114625814A - Icon display method and device and electronic equipment - Google Patents

Icon display method and device and electronic equipment Download PDF

Info

Publication number
CN114625814A
CN114625814A CN202011453535.6A CN202011453535A CN114625814A CN 114625814 A CN114625814 A CN 114625814A CN 202011453535 A CN202011453535 A CN 202011453535A CN 114625814 A CN114625814 A CN 114625814A
Authority
CN
China
Prior art keywords
type
icon
terminal account
equipment type
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011453535.6A
Other languages
Chinese (zh)
Inventor
穆明
马馨
尚杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech 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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202011453535.6A priority Critical patent/CN114625814A/en
Publication of CN114625814A publication Critical patent/CN114625814A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides an icon display method, an icon display device and electronic equipment, wherein the method is applied to a server and specifically comprises the following steps: receiving a new establishment instruction, wherein the new establishment instruction comprises an equipment type, establishing a terminal account based on the new establishment instruction, setting the type of the terminal account as the equipment type, and sending the terminal account with the type as the equipment type to a client, so that the client determines a target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account, and displays the target icon on a display interface of the client. The embodiment improves the flexibility of the setting of the corresponding relation between the equipment type and the icon, further reduces the workload of the setting and improves the setting efficiency.

Description

Icon display method and device and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of cluster scheduling, in particular to an icon display method and device and electronic equipment.
Background
With the development of internet technology, the application of a cluster scheduling system is more and more extensive, specifically, a dedicated scheduling system with a group of wireless channels shared by a plurality of departments adopts the technologies of channel sharing, dynamic idle channel allocation and the like, so that the channel utilization rate is improved, and the functions of frequency sharing, equipment sharing and mutual noninterference of a plurality of scheduling systems are realized.
The trunking dispatching system can be composed of trunking dispatching desk, switching (control) center, base station and mobile station, and the trunking dispatching desk is mainly used to realize total dispatching and control. The cluster scheduling console may include a Geographic Information System (GIS) map, and the Geographic location Information of each terminal device may be displayed on the GIS map. The terminal device can be displayed on the map in the form of icons, and the icons corresponding to different device types are different.
However, in the prior art, the corresponding relationship between the type of each device and the icon is fixed and well corresponded in the initial setting version, and if the type of the device needs to be changed or increased, a new version needs to be reset, that is, the corresponding relationship between the types of all the devices and the icons needs to be reset, so that the setting mode is inflexible, the setting workload is increased, and the setting efficiency is reduced.
Disclosure of Invention
The embodiment of the invention provides an icon display method and device and electronic equipment, aiming at improving the flexibility of setting the corresponding relation between the type of the equipment and an icon and improving the setting efficiency.
In a first aspect, an embodiment of the present invention provides an icon display method, which is applied to a server, and the method includes:
receiving a new command, wherein the new command comprises an equipment type;
establishing a terminal account based on the new establishing instruction, and setting the type of the terminal account as the equipment type;
and sending the terminal account with the type being the equipment type to a client so that the client determines a target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account, and displaying the target icon on a display interface of the client.
Optionally, the creating a new terminal account based on the new creation instruction, and setting the type of the terminal account as the device type includes:
judging whether a terminal account to be established already exists or not based on the terminal account name;
and if the terminal account to be established does not exist, establishing a terminal account according to the terminal account name, and setting the type of the terminal account as the equipment type.
Optionally, the method further includes:
and if the terminal account to be established already exists, updating the type of the existing terminal account to the device type.
Optionally, the creating a new terminal account based on the new creation instruction, and setting the type of the terminal account as the device type includes:
judging whether the equipment type is in a pre-stored equipment type list or not;
and if so, establishing a terminal account based on the new establishing instruction, and setting the type of the terminal account as the equipment type.
Optionally, before the receiving the new command, the method further includes:
receiving a newly added device type sent by at least one client to obtain a device type list;
storing the device type list.
In a second aspect, an embodiment of the present invention provides an icon display method, which is applied to a client, where the method includes:
receiving a terminal account which is sent by a server and is of a device type;
determining a target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account;
and displaying the target icon on a display interface.
Optionally, before the receiving the terminal account of which the type is the device type sent by the server, the method further includes:
receiving a corresponding relation between at least one first equipment type and an icon input by a user to obtain a corresponding relation table of the equipment type and the icon;
and storing the corresponding relation table of the equipment type and the icon.
Optionally, before the storing the correspondence table between the device type and the icon, the method further includes:
receiving the corresponding relation between at least one second equipment type and the icon sent by other clients;
and obtaining a corresponding relation table of the equipment type and the icon according to the corresponding relation between the first equipment type and the icon and the corresponding relation between the second equipment type and the icon.
In a third aspect, an embodiment of the present invention provides an icon display apparatus, which is applied to a server, and includes:
the receiving module is used for receiving a new establishment instruction, wherein the new establishment instruction comprises an equipment type;
the processing module is used for creating a terminal account based on the new command and setting the type of the terminal account as the equipment type;
the processing module is further configured to send the terminal account of which the type is the device type to a client, so that the client determines a target icon from a pre-stored correspondence table between the device type and the icon according to the device type of the terminal account, and displays the target icon on a display interface of the client.
In a fourth aspect, an embodiment of the present invention provides an icon display apparatus, applied to a client, where the apparatus includes:
the receiving module is used for receiving the terminal account which is sent by the server and is of the type of the equipment;
the processing module is used for determining a target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account;
the processing module is further configured to display the target icon on a display interface.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including: at least one processor and memory;
the memory stores computer execution instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the icon display method as set forth in the first aspect and various possible designs of the first aspect, the second aspect and various possible designs of the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the icon display method according to the first aspect and various possible designs of the first aspect, and the second aspect and various possible designs of the second aspect are implemented.
In a seventh aspect, an embodiment of the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the icon display method according to the first aspect and various possible designs of the first aspect, and the second aspect and various possible designs of the second aspect are implemented.
The embodiment of the invention provides an icon display method, an icon display device and electronic equipment, after the scheme is adopted, a newly-built instruction can be received, wherein the newly-built instruction comprises an equipment type, a terminal account is newly built based on the newly-built instruction, the type of the terminal account is set to be the equipment type contained in the newly-built instruction, the terminal account with the type of the equipment type is sent to a client, so that the client determines a target icon from the corresponding relation between the pre-stored equipment type and the icon according to the equipment type of the terminal account, the target icon is displayed on a display interface of the client, the equipment type of the terminal account to be built is determined according to the newly-built instruction, the icon corresponding to the equipment type is obtained from the corresponding relation table between the pre-stored equipment type and the icon, the icon is displayed, and when the equipment type does not need to be newly added, the corresponding relation between the types of all the devices and the icons must be reset, so that the flexibility of setting the corresponding relation between the types of the devices and the icons is improved, the setting workload is reduced, and the setting efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic interface diagram of different types of terminal devices according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an architecture of an application system of an icon display method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an icon display method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an icon display method according to another embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating an icon display method according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an icon display apparatus according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of including other sequential examples in addition to those illustrated or described. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the prior art, a trunking dispatch system may be composed of a trunking dispatch station, a switching (control) center, a base station, and a mobile station, where the trunking dispatch station is mainly used to implement total dispatch and control. The cluster scheduling console may include a Geographic Information System (GIS) map, and the Geographic location Information of each terminal device may be displayed on the GIS map. The geographical location information of each terminal device can be displayed on a map in the form of icons, and the icons corresponding to different device types are different. Illustratively, the types of the devices can be a mobile phone, a law enforcement recorder, a police car, a command car, a fire truck, a police motorcycle and the like, and different types of terminal devices can be displayed by using different icons, so that a GIS map interface is more visual, and the system friendliness is improved. Fig. 1 is a schematic view of interfaces displayed by different types of terminal devices according to an embodiment of the present invention, as shown in fig. 1, in this embodiment, a GIS map interface includes devices of the types of police officers, police cars, and base station cars. However, in the prior art, the corresponding relationship between the types of the devices and the icons is fixed and well-corresponded in the initial setting version, and if the types of the devices need to be changed or increased, a new version needs to be reset, that is, the corresponding relationship between the types of all the devices and the icons needs to be reset, so that the setting mode is inflexible, and the setting workload is increased.
Based on the above problems, the method and the device for setting the terminal account achieve the technical effects of improving the flexibility of setting the corresponding relationship between the device type and the icon, reducing the setting workload and improving the setting efficiency by firstly determining the device type of the terminal account to be set according to the newly-built instruction, then acquiring the icon corresponding to the device type from the pre-stored corresponding relationship table between the device type and the icon, and displaying the icon.
Fig. 2 is a schematic structural diagram of an application system of the icon display method according to the embodiment of the present invention, and as shown in fig. 2, the application system includes: the server 101 may receive a new establishment instruction, where the new establishment instruction includes a device type, then further process the new establishment instruction based on the device type to obtain a terminal account of the device type, and send the terminal account to the first client 102, so that the first client 102 determines a corresponding target icon according to the device type included in the terminal account and displays the target icon.
In addition, when the first client 102 determines the corresponding target icon according to the device type included in the terminal account, the target icon may be determined according to a correspondence between the locally stored device type and the icon, or may be determined according to a correspondence between the device type and the icon generated and sent by the second client 103. Correspondingly, the first client 102 is a client in the following embodiments, and the second client is another client in the following embodiments.
The first client 102 may be a smart phone, a tablet, a personal computer, a dedicated terminal, a mobile phone, a law enforcement recorder, and the like, and the second client 103 may also be a smart phone, a tablet, a personal computer, a dedicated terminal, a mobile phone, a law enforcement recorder, and the like, and the types of the first client and the second client may be the same or different.
In addition, there may be one or more second clients 103, and in this embodiment, there are more second clients 103.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 3 is a flowchart illustrating an icon display method according to an embodiment of the present invention, where the method of the embodiment may be executed by a server. As shown in fig. 3, the method of this embodiment may include:
s301: and receiving a new command, wherein the new command comprises the equipment type.
In this embodiment, when the device type needs to be newly added or changed, a new instruction may be triggered first, where the new instruction may be triggered by the user at the client or may be triggered by the user at the server. Correspondingly, the receiving of the new instruction may be receiving of a new instruction sent by the client, or receiving of a new instruction triggered locally by the server.
Further, the representation of the device type may be various and, in one implementation, may be represented by any one or combination of upper case letters, lower case letters, and numbers. For example, the representation types of the terminal devices may be a1, a2, A3, and may also be Aa1, Aa2, Aa3, and the like, which are not limited in detail herein.
S302: and establishing a terminal account based on the new establishing instruction, and setting the type of the terminal account as the equipment type.
In this embodiment, after receiving the new creation instruction, a terminal account may be created based on the new creation instruction. The terminal account may include a terminal account name, a terminal account password, a terminal account type, and the like.
Further, the type of the terminal account may be set according to the device type included in the new instruction, and the specific implementation manner may include:
and judging whether the terminal account to be established already exists or not based on the terminal account name.
If the terminal account to be established does not exist, establishing a terminal account according to the terminal account name, and setting the type of the terminal account as the equipment type.
Specifically, whether a terminal account to be established already exists may be determined based on the terminal account name, and if a terminal account with the same name can be searched, it is proved that the terminal account already exists, that is, the terminal account is already established. If the terminal account with the same name is not searched, the terminal account is proved to be not existed, namely, the terminal account is not established.
Further, if it is determined that the terminal account to be established does not exist, a terminal account can be directly created according to the name of the terminal account, and the type of the terminal account is set as the device type. For example, the terminal account name may be Andr1, and the device type is a1, a terminal account with the name Andr1 may be newly created, and the type of the terminal account may be set to a 1.
In addition, if the terminal account to be established already exists, that is, the type of the existing terminal account needs to be adjusted, the type of the existing terminal account may be updated to the device type included in the new creation instruction, so that a correct icon may be displayed when the device type is displayed by a subsequent client.
S303: and sending the terminal account with the type of the equipment to the client so that the client determines a target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account, and displaying the target icon on a display interface of the client.
In this embodiment, after a new terminal account with a successful device type is created, the terminal account with the device type may be sent to the client, a correspondence table between the device type and the icon is stored in the client, a target icon corresponding to the device type may be determined according to the correspondence table between the device type and the icon, and the target icon is displayed on a display interface of the client. Specifically, a map interface is displayed in the display interface of the client, and the target icon can be displayed on the map interface.
After the scheme is adopted, a new establishment instruction can be received, wherein the new establishment instruction comprises a device type, a terminal account is established based on the new establishment instruction, the type of the terminal account is set to be the device type contained in the new establishment instruction, the terminal account with the type of the device type is sent to the client, so that the client determines a target icon from the corresponding relationship between the pre-stored device type and the icon according to the device type of the terminal account, the target icon is displayed on a display interface of the client, the device type of the terminal account to be established is determined according to the new establishment instruction, the icon corresponding to the device type is obtained from the corresponding relationship table of the pre-stored device type and icon, the icon is displayed, and when the device type does not need to be newly increased, the corresponding relationship between the types of all devices and the icon needs to be reset, the flexibility of the setting of the corresponding relation between the equipment type and the icon is improved, the setting workload is reduced, and the setting efficiency is improved.
Based on the method of fig. 3, the present specification also provides some specific embodiments of the method, which are described below.
In addition, in another embodiment, the S302 may further include:
and judging whether the equipment type is in a pre-stored equipment type list or not.
And if so, establishing a terminal account based on the new establishing instruction, and setting the type of the terminal account as the equipment type.
In this embodiment, after the device type is obtained, it may be determined whether the device type is in a pre-stored device type list, and if the device type is in the pre-stored device type list, a new terminal account may be directly created based on the new instruction, and the type of the terminal account may be set as the device type. If the device type is not in the pre-stored device type list, it is indicated that no icon corresponding to the device type exists at present, and therefore an icon adding prompt can be sent to the client, so that the client can add the corresponding icon according to the icon adding prompt, and further amplification of the device type is achieved.
In addition, before receiving the new command, the method may further include:
and receiving the newly added equipment type sent by at least one client to obtain an equipment type list. A list of device types is stored.
In this embodiment, the device types pre-stored by the server may be sent by the respective clients. Correspondingly, the device type of each client can be created by the user at the client or can be stored in the client in advance locally, and by the method, the application range of the device type list can be enlarged, so that the application range of the device type is enlarged, and the condition that the device type cannot be displayed on a front-end interface because the device type cannot be determined is reduced.
Fig. 4 is a flowchart illustrating an icon display method according to another embodiment of the present invention, where the method of this embodiment may be executed by a client. As shown in fig. 4, the method of this embodiment may include:
s401: and receiving the terminal account which is sent by the server and is of the type of the equipment.
S402: and determining the target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account.
S403: and displaying the target icon on a display interface.
In this embodiment, the client may be the first client in the embodiment of fig. 2. After the client receives the terminal account with the type being the device type sent by the server, the target icon can be determined from the pre-stored corresponding relation table of the device type and the icon according to the device type of the terminal account. The corresponding relation table of the equipment types and the icons comprises a plurality of groups of corresponding relations of the equipment types and the icons, and each equipment type corresponds to each icon one by one. After the target icon is determined in the corresponding relation table of the device type and the icon, the target icon can be displayed on a display interface of the terminal device, and a user can directly determine the relevant position of the terminal device of the type according to the target icon, so that the use experience of the user is improved.
In addition, in another embodiment, before the S401, the method may further include:
receiving the corresponding relation between at least one first equipment type and the icon input by a user to obtain a corresponding relation table of the equipment types and the icon. And storing the corresponding relation table of the equipment type and the icon.
Alternatively, before the S401, the method may further include:
and receiving the corresponding relation between at least one second device type and the icon sent by other clients.
And obtaining a corresponding relation table of the equipment type and the icon according to the corresponding relation between the first equipment type and the icon and the corresponding relation between the second equipment type and the icon.
In this embodiment, the correspondence table between the terminal device and the icon may be set by the user at the local client, or may be set by other users at other clients, and then the other clients send the result to the local client.
Fig. 5 is a schematic diagram illustrating an icon display method according to an embodiment of the present invention, as shown in fig. 5, in this embodiment, an interaction process between two ends of a client and a server is included, an account opening center may be deployed in the server, and a user creates a new terminal account. The specific implementation process can be as follows: the client adds or modifies the type and the icon of the equipment in a configuration file mode, saves the equipment as a data packet, and saves the data packet at each client. And then sending the modified data packet (including the configuration file and the used icon file) to the server so that the server can import the modified data packet into the account opening center. The account opening center can establish a terminal account according to the imported data packet, and can set a corresponding device type for the established terminal account according to the imported configuration data, and the device type can be stored in a database as a general attribute of the terminal account. The client can acquire terminal account data, acquire the device type attribute value of the terminal account configured when the account opening center opens the account, and map the terminal account data to the icon file corresponding to the account type according to the type and the icon of the device stored in the client, so that the icon corresponding to the device type is displayed on the client interface.
Further, the configuration file of the device type may be a configuration file in an XML format, and table 1 is a configuration file table of the device type, as shown in table 1, the application type of the terminal and various icons used by the application type are defined in the configuration file table, and a user may use a text editor to edit, add a new device type and an icon thereof, or modify an icon used by a certain device type.
Table 1 profile table for device types
Figure BDA0002832461870000101
Figure BDA0002832461870000111
Based on the same idea, an embodiment of the present specification further provides a device corresponding to the method, and fig. 6 is a schematic structural diagram of an icon display device provided in the embodiment of the present invention, as shown in fig. 6, and is applied to a server, where the device may include:
the receiving module 601 is configured to receive a new command, where the new command includes a device type.
And the processing module 602 is configured to create a terminal account based on the new creation instruction, and set the type of the terminal account as the device type.
In this embodiment, the processing module 602 is further configured to:
and judging whether the terminal account to be established already exists or not based on the terminal account name.
And if the terminal account to be established does not exist, establishing a terminal account according to the terminal account name, and setting the type of the terminal account as the equipment type.
The processing module 602 is further configured to:
and if the terminal account to be established already exists, updating the type of the existing terminal account to the device type.
The processing module 602 is further configured to send the terminal account of which the type is the device type to a client, so that the client determines a target icon from a pre-stored correspondence table between the device type and the icon according to the device type of the terminal account, and displays the target icon on a display interface of the client.
Furthermore, in another embodiment, the processing module 602 is further configured to:
and judging whether the equipment type is in a pre-stored equipment type list or not.
And if so, establishing a terminal account based on the new establishing instruction, and setting the type of the terminal account as the equipment type.
In this embodiment, further, the processing module 602 is further configured to:
and receiving the newly added equipment type sent by at least one client to obtain an equipment type list. Storing the device type list.
In another embodiment, applied to a client, the apparatus comprises:
and the receiving module is used for receiving the terminal account which is sent by the server and is of the type of the equipment.
And the processing module is used for determining the target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account.
The processing module is further configured to display the target icon on a display interface.
Furthermore, in another embodiment, the processing module is further configured to:
receiving the corresponding relation between at least one first equipment type and the icon input by a user to obtain a corresponding relation table of the equipment types and the icon.
And storing the corresponding relation table of the equipment type and the icon.
In this embodiment, further, the processing module is further configured to:
and receiving the corresponding relation between at least one second device type and the icon sent by other clients.
And obtaining a corresponding relation table of the equipment type and the icon according to the corresponding relation between the first equipment type and the icon and the corresponding relation between the second equipment type and the icon.
The apparatus provided in the embodiment of the present invention may implement the method in the embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, a device 700 according to the embodiment includes: at least one processor 701 and a memory 702. The processor 701 and the memory 702 are connected by a bus 703.
In a specific implementation process, the at least one processor 701 executes the computer-executable instructions stored in the memory 702, so that the at least one processor 701 executes the method in the above-described method embodiment.
For a specific implementation process of the processor 701, reference may be made to the above method embodiments, which implement principles and technical effects similar to each other, and details of this embodiment are not described herein again.
In the embodiment shown in fig. 7, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory, and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the icon display method of the embodiment of the method is realized.
An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the icon display method described above is implemented.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1. An icon display method is applied to a server, and the method comprises the following steps:
receiving a new command, wherein the new command comprises an equipment type;
establishing a terminal account based on the new establishing instruction, and setting the type of the terminal account as the equipment type;
and sending the terminal account with the type being the equipment type to a client so that the client determines a target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account, and displaying the target icon on a display interface of the client.
2. The method of claim 1, wherein the creating a terminal account based on the new creation instruction and setting the type of the terminal account as the device type comprises:
judging whether a terminal account to be established already exists or not based on the terminal account name;
and if the terminal account to be established does not exist, establishing a terminal account according to the terminal account name, and setting the type of the terminal account as the equipment type.
3. The method of claim 2, further comprising:
and if the terminal account to be established already exists, updating the type of the existing terminal account to the device type.
4. The method according to any one of claims 1 to 3, wherein the creating a terminal account based on the new creating instruction and setting the type of the terminal account as the device type comprises:
judging whether the equipment type is in a pre-stored equipment type list or not;
and if so, establishing a terminal account based on the new establishing instruction, and setting the type of the terminal account as the equipment type.
5. The method of claim 4, prior to said receiving new instructions, further comprising:
receiving a newly added device type sent by at least one client to obtain a device type list;
storing the device type list.
6. An icon display method is applied to a client side, and comprises the following steps:
receiving a terminal account which is sent by a server and is of a device type;
determining a target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account;
and displaying the target icon on a display interface.
7. The method according to claim 6, wherein before the receiving server sends the terminal account of the device type, the method further comprises:
receiving a corresponding relation between at least one first equipment type and an icon input by a user to obtain a corresponding relation table of the equipment type and the icon;
and storing the corresponding relation table of the equipment type and the icon.
8. The method according to claim 7, further comprising, before the storing the correspondence table between device types and icons:
receiving the corresponding relation between at least one second equipment type and the icon sent by other clients;
and obtaining a corresponding relation table of the equipment type and the icon according to the corresponding relation between the first equipment type and the icon and the corresponding relation between the second equipment type and the icon.
9. An icon display device, applied to a server, the device comprising:
the receiving module is used for receiving a new establishment instruction, wherein the new establishment instruction comprises an equipment type;
the processing module is used for creating a terminal account based on the new creating instruction and setting the type of the terminal account as the equipment type;
the processing module is further configured to send the terminal account of which the type is the device type to a client, so that the client determines a target icon from a pre-stored correspondence table between the device type and the icon according to the device type of the terminal account, and displays the target icon on a display interface of the client.
10. An icon display device applied to a client, the device comprising:
the receiving module is used for receiving the terminal account which is sent by the server and is of the type of the equipment;
the processing module is used for determining a target icon from a pre-stored corresponding relation table of the equipment type and the icon according to the equipment type of the terminal account;
the processing module is further configured to display the target icon on a display interface.
11. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the icon display method of any of claims 1-5 or 6-8.
12. A computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the icon display method of any one of claims 1-5 or 6-8.
13. A computer program product comprising a computer program, characterized in that the computer program realizes the icon display method according to any one of claims 1 to 5 or 6 to 8 when executed by a processor.
CN202011453535.6A 2020-12-11 2020-12-11 Icon display method and device and electronic equipment Pending CN114625814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011453535.6A CN114625814A (en) 2020-12-11 2020-12-11 Icon display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011453535.6A CN114625814A (en) 2020-12-11 2020-12-11 Icon display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114625814A true CN114625814A (en) 2022-06-14

Family

ID=81894794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011453535.6A Pending CN114625814A (en) 2020-12-11 2020-12-11 Icon display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114625814A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786824A (en) * 2014-12-22 2016-07-20 Tcl集团股份有限公司 Dynamic icon generation method and system
CN109146703A (en) * 2018-08-09 2019-01-04 成都天地量子科技有限公司 A kind of field-crop type real-time mark system
CN110597941A (en) * 2019-09-11 2019-12-20 广州力挚网络科技有限公司 Map display method and system
CN111815864A (en) * 2020-05-21 2020-10-23 摩拜(北京)信息技术有限公司 Vehicle information display processing method and device and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786824A (en) * 2014-12-22 2016-07-20 Tcl集团股份有限公司 Dynamic icon generation method and system
CN109146703A (en) * 2018-08-09 2019-01-04 成都天地量子科技有限公司 A kind of field-crop type real-time mark system
CN110597941A (en) * 2019-09-11 2019-12-20 广州力挚网络科技有限公司 Map display method and system
CN111815864A (en) * 2020-05-21 2020-10-23 摩拜(北京)信息技术有限公司 Vehicle information display processing method and device and terminal equipment

Similar Documents

Publication Publication Date Title
WO2017214241A1 (en) Information presentation method, device, and system
CN109491742B (en) Page table rendering method and device
CN110377369B (en) Method, device and computer storage medium for running small program
CN110377376B (en) Interface message refreshing method and device, computer device and readable storage medium
CN105808307B (en) Page display method and device
CN106227483B (en) Display control method and mobile terminal
CN111679790A (en) Remote software development storage space distribution method and device
CN113301157A (en) Cloud mobile phone group control method, equipment and storage medium based on android system
CN110619221B (en) Virtual authorization method, device, terminal equipment and storage medium
CN113312135B (en) List display method and device, computer equipment and storage medium
CN110769029A (en) Vehicle owner contact method, server, computer equipment and storage medium
CN104980451A (en) Information prompting method and apparatus
CN103188324A (en) Vehicle-mounted information displaying system
CN112187548A (en) Method, device and equipment for synchronously updating configuration data and storage medium
CN111475230A (en) Application function configuration method and device and electronic equipment
CN114625814A (en) Icon display method and device and electronic equipment
CN106791134B (en) Method for dialing network telephone, mobile terminal and vehicle-mounted device
CN112905072B (en) Application processing method and device and electronic equipment
CN110377654B (en) Data request processing method and device, electronic equipment and computer-readable storage medium
CN111641690B (en) Session message processing method and device and electronic equipment
CN110427135B (en) Method, device, terminal and storage medium for determining application call
CN110221892B (en) Method, device, medium and electronic equipment for scrolling window information
CN107153779A (en) Method for secret protection and device
CN112650763A (en) Configuration method of product quota, related equipment and storage medium
CN108693951B (en) Display content updating method and device

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