Summary of the invention
In view of this, the embodiment of the present invention provides a kind of cluster object in the rendering method and device at interface, can be realized
A kind of applicable surface is extensive, simple mode at flight interface carries out aircraft displaying.
To achieve the above object, according to an aspect of an embodiment of the present invention, a kind of cluster object is provided at interface
Rendering method, including receiving the information that object is sent in cluster, to obtain the icon background as the object for showing bottom,
One layer of text comprising object number is loaded in the bottom;According to the information that the object is sent, object information frame is constructed;It is in
Icon background, the text comprising object number and the object information frame of existing object.
Optionally, the information that object is sent in the cluster includes other ginsengs of object type parameter, object number and object
Number.
Optionally, the icon background of the object as display bottom is obtained, comprising:
The information sent by object in cluster, to obtain object type parameter;
According to preset object type parameter and icon background mapping relations, the icon background of the object is obtained, it will
The icon background is set as the bottom of display.
Optionally, one layer of text comprising object number is loaded in the bottom, comprising:
The information sent by object in cluster, to obtain object number;
According to the mapping relations of preset icon display text and object number, the icon display text of the object is obtained
This will include the icon display text load of object number on the bottom.
Optionally, the information sent according to the object constructs object information frame and presents, comprising:
The information sent by the object obtains object other parameters;
According to the mapping relations between preset object other parameters and object information, object information is obtained to construct object
Message box is simultaneously presented.
Optionally, it constructs object information frame and presents, comprising:
When monitoring that mouse is in the display lower layer region of the object, then object information frame is shown;
When monitoring that mouse is not at the display lower layer region of the object, then hidden object message box.
In addition, according to an aspect of an embodiment of the present invention, a kind of presentation device of cluster object at interface, packet are provided
Receiving module is included, for receiving the information that object is sent in cluster;Module is presented, for obtaining as the described right of display bottom
The icon background of elephant loads one layer of text comprising object number in the bottom;According to the information that the object is sent, building
Object information frame;Icon background, the text comprising object number and the object information frame of object is presented.
Optionally, the information that object is sent in the cluster includes other ginsengs of object type parameter, object number and object
Number.
Optionally, the icon background that the object that module is obtained as display bottom is presented, comprising:
The information sent by object in cluster, to obtain object type parameter;
According to preset object type parameter and icon background mapping relations, the icon background of the object is obtained, it will
The icon background is set as the bottom of display.
Optionally, the module that presents is in one layer of text comprising object number of bottom load, comprising:
The information sent by object in cluster, to obtain object number;
According to the mapping relations of preset icon display text and object number, the icon display text of the object is obtained
This will include the icon display text load of object number on the bottom.
Optionally, the information that module is presented and is sent according to the object, constructs object information frame and presents, comprising:
The information sent by the object obtains object other parameters;
According to the mapping relations between preset object other parameters and object information, object information is obtained to construct object
Message box is simultaneously presented.
Optionally, the presentation module constructs object information frame and presents, comprising:
When monitoring that mouse is in the display lower layer region of the object, then object information frame is shown;
When monitoring that mouse is not at the display lower layer region of the object, then hidden object message box.
Other side according to an embodiment of the present invention, additionally provides a kind of electronic equipment, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes any of the above-described cluster object at interface in method described in current embodiment.
Other side according to an embodiment of the present invention additionally provides a kind of computer-readable medium, is stored thereon with meter
Calculation machine program realizes any of the above-described cluster object at interface in side described in current embodiment when described program is executed by processor
Method.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that proposes by directly adding on picture
Carry txt text mode construct icon, and then formed one kind can be widely applied, simple object icon display methods.In addition,
Communication link between object and earth station is established in proposition, and earth station is using information such as object type, the object numbers obtained, by ground
Object in the station of face personalizes, and user can with simple, intuitive obtain the relevant recommended information of object.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodiment
With explanation.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention
Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize
It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together
Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
Fig. 1 is rendering method of the cluster object according to an embodiment of the present invention at interface, as shown in Figure 1, the cluster pair
As the rendering method at interface includes:
Step S101 receives the information that object is sent in cluster, the icon to obtain the object as display bottom
Background.
Wherein, the information that object is sent in the cluster includes object type parameter, object number and object other parameters.
In embodiment, the icon background of the object as display bottom is obtained, specific implementation process includes:
The information sent by object in cluster, to obtain object type parameter.Then joined according to preset object type
Several and icon background mapping relations, obtain the icon background of the object, set the icon background to the bottom of display.
Step S102 loads one layer of text comprising object number in the bottom.Specifically implementation process includes:
The information sent by object in cluster, to obtain object number.Then according to preset icon display text and
The mapping relations of object number obtain the icon display text of the object, will include the icon display text of object number
Load is on the bottom.
Step S103 constructs object information frame according to the information that the object is sent.Specifically implementation process includes:
The information sent by the object obtains object other parameters.Then according to preset object other parameters and
Mapping relations between object information obtain object information to construct object information frame and present.
Further, according to the mouse moving area monitored, display operation is carried out to object information frame.Further
Ground then shows object information frame when monitoring that mouse is in the display lower layer region of the object;When monitoring that mouse is not at
The display lower layer region of the object, then hidden object message box.
Icon background, the text comprising object number and the object information frame of object is presented in step S104.
As embodiment, the icon of cluster object is divided into icon background, object number and object information three parts.It wants
Think the information that object is truly shown by icon, it is necessary first to establish between object and earth station, on the head of transport protocol
Add the mapping code for the information (such as manufacturer etc. information) that object type, object number and some users are concerned about by some fields
It is sent to earth station.
Object type is obtained in earth station and selects corresponding icon background, and object number is formed into text load and is being carried on the back
On scape icon, the main body of icon is formed, is shown in earth station.
If mouse can be moved on icon, then display is seen by user it should be understood that when the more information of aircraft
The message box for carrying object, then hides the message box when mouse leaves icon.
In addition, step 103 can carry out simultaneously during executing step S101 and step S102, can also first carry out
Step S103 is executed again after step S101 and step S102, can also be first carried out step S103 and be carried out step S101 and step again
S102。
According to various embodiments above, it can be seen that for the cluster object in the rendering method at interface, which will
The main image of object, with a kind of simple, applicable surface extensively, intuitive way show the basic information of object.Icon back
Scape represents object type, and number can intuitively distinguish same type of different objects, and work as user's object to be understood more
When more information, mouse can be moved on icon and be checked, mouse leaves relevant information and just disappears.On the one hand it avoids
The cured information of object occupies limited interface and on the other hand avoids information important in occlusion objects interface, such as street and
Course line etc., and the demand of the understanding of some interested information of user is also met, improve the experience of user.
Fig. 2 is to can refer to the cluster object of embodiment according to the present invention in the signal of the main flow of the rendering method at interface
Figure, using unmanned plane as application scenarios, rendering method of the cluster object at interface may include: the embodiment
Step S201 receives the information that unmanned plane is sent.
In embodiment, the unmanned machine information of ground station reception may include type of aircraft parameter, aircraft number parameter,
Aircraft other parameters etc..
Step S202 obtains the icon back of the unmanned plane according to type of aircraft parameter and icon background mapping relations
Scape.
In embodiment, the flight for being obtained by the type of aircraft pre-established and earth station shows of icon background
Device type map target mapping model, i.e., obtain the icon background of the unmanned plane according to type of aircraft in unmanned machine information.
Further, with integer form mapping practical flight device type, mapping relations are as follows for unmanned plane and earth station's agreement:
Unmanned plane sends parameter and the practical flight device type of relationship table of comparisons
Send parameter |
Practical flight device type |
0 |
Quadrotor |
1 |
Six rotors |
2 |
Fixed-wing |
… |
… |
Wherein, the type of aircraft can be such as quadrotor, helicopter etc..According to unmanned plane send parameter and
The practical flight device type of relationship table of comparisons, earth station can establish aircraft parameters and icon background mapping relations library, such as Fig. 3 institute
Show.
The unmanned plane icon background is set to the bottom of display by step S203.
Step S204 loads one layer of txt text comprising aircraft number in the bottom, so as to form the figure of the unmanned plane
Target main body.
As embodiment, the mapping block of icon display text and aircraft number is pre-established.Further, unmanned plane and
Earth station's agreement maps the unmanned plane of practical same type with integer, and mapping relations are as shown in Figure 4.
Step S205, according to the information that unmanned plane is sent, to construct airplane information frame.
In embodiment, the airplane information in the airplane information frame can obtain in the following way, that is, establish nothing
Man-machine other solidify the mapping model between information and airplane information.Wherein, other solidification information of the unmanned plane are exactly nothing
Included aircraft other parameters in the information of man-machine transmission.
Preferably, the mapping relations between aircraft other parameters and airplane information can be foundation with some numeric parameters
With the mapping relations of aircraft actual information, ground station reception to relevant information is converted into corresponding text and is shown, with most
Intuitive form is presented to user.
Step S206 carries out display operation to airplane information frame according to the mouse moving area monitored.
In embodiment, when monitoring that mouse is in lower layer region, then airplane information frame is shown.And works as and monitor mouse not
In lower layer region, then airplane information frame is hidden.
That is, mouse can be moved to lower layer region it should be understood that when aircraft more information by user, then display flies
Machine information frame.When mouse leaves lower layer region, then the airplane information frame is hidden.
Also it is worth noting that, as shown in figure 5, airplane icon generate mapping relations figure.At the same time, either icon
Background, aircraft number or airplane information, the acquisition of relevant parameter are established after connection by unmanned plane and earth station
It completes.Wherein, UAV refers to unmanned plane.GCS full name is Ground Control Station, refers to earth station.
In addition, can refer to cluster object described in embodiment in the specific implementation of the rendering method at interface in the present invention
Hold, cluster object described above has been described in detail in the rendering method at interface, therefore no longer illustrates in this duplicate contents.
Fig. 6 is presentation device of the cluster object according to an embodiment of the present invention at interface, as shown in fig. 6, the cluster pair
As the presentation device 600 at interface includes receiving module 601 and presentation module 602.Wherein, receiving module 601 receives in cluster
The information that object is sent,.Later, the icon background that the object that module 602 is obtained as display bottom is presented, at the bottom
One layer of layer load includes the text of object number;According to the information that the object is sent, to construct object information frame;Object is presented
Icon background, the text comprising object number and object information frame.Wherein, the information that object is sent in the cluster includes pair
As type parameter, object number and object other parameters.
As an embodiment preferably, the figure that the object that module 602 is obtained as display bottom is presented
When marking background, specific implementation process includes:
The information sent by object in cluster, to obtain object type parameter.Joined later according to preset object type
Several and icon background mapping relations, obtain the icon background of the object, set the icon background to the bottom of display.
The module 602 that presents is when the bottom loads one layer and includes the text of object number, specific implementation process
Include:
The information sent by object in cluster, to obtain object number.Later according to preset icon display text and
The mapping relations of object number obtain the icon display text of the object, will include the icon display text of object number
Load is on the bottom.
The information that module 602 is presented and is sent according to the object, it is specific real to construct object information frame and present
The process of applying includes:
The information sent by the object obtains object other parameters.Later according to preset object other parameters and
Mapping relations between object information obtain object information to construct object information frame and present.
Further, the presentation module 602 shows object information frame according to the mouse moving area monitored
Operation.Further, when monitoring that mouse is in the display lower layer region of the object, then object information frame is shown;Work as prison
The display lower layer region that mouse is not at the object is measured, then hidden object message box.
It should be noted that cluster object of the present invention the presentation device at interface specific implementation content, upper
Cluster object described in face has been described in detail in the rendering method at interface, therefore no longer illustrates in this duplicate contents.
Fig. 7, which is shown, can apply the cluster object of the embodiment of the present invention in the rendering method or cluster object at interface on boundary
The exemplary system architecture 700 of the presentation device in face.Or Fig. 7 shows and can exist using the cluster object of the embodiment of the present invention
Exemplary system architecture 700 of the rendering method or cluster object at interface in the presentation device at interface.
As shown in fig. 7, system architecture 700 may include terminal device 701,702,703, network 704 and server 705.
Network 704 between terminal device 701,702,703 and server 705 to provide the medium of communication link.Network 704 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 701,702,703 and be interacted by network 704 with server 705, to receive or send out
Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 701,702,703
(merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 701,702,703 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 705 can be to provide the server of various services, such as utilize terminal device 701,702,703 to user
The shopping class website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to reception
To the data such as information query request analyze etc. processing, and by processing result (such as target push information, product letter
Breath -- merely illustrative) feed back to terminal device.
It should be noted that cluster object provided by the embodiment of the present invention interface rendering method generally by server
705 execute, and correspondingly, cluster object is generally positioned in server 705 in the presentation device at interface.
It should be understood that the number of terminal device, network and server in Fig. 7 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
Below with reference to Fig. 8, it illustrates the computer systems 800 for the terminal device for being suitable for being used to realize the embodiment of the present invention
Structural schematic diagram.Terminal device shown in Fig. 8 is only an example, function to the embodiment of the present invention and should not use model
Shroud carrys out any restrictions.
As shown in figure 8, computer system 800 includes central processing unit (CPU) 801, it can be read-only according to being stored in
Program in memory (ROM) 802 or be loaded into the program in random access storage device (RAM) 803 from storage section 808 and
Execute various movements appropriate and processing.In RAM803, also it is stored with system 800 and operates required various programs and data.
CPU801, ROM 802 and RAM803 is connected with each other by bus 804.Input/output (I/O) interface 805 is also connected to bus
804。
I/O interface 805 is connected to lower component: the importation 806 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 807 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 808 including hard disk etc.;
And the communications portion 809 of the network interface card including LAN card, modem etc..Communications portion 809 via such as because
The network of spy's net executes communication process.Driver 810 is also connected to I/O interface 805 as needed.Detachable media 811, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 810, in order to read from thereon
Computer program be mounted into storage section 808 as needed.
Particularly, disclosed embodiment, the process described above with reference to flow chart may be implemented as counting according to the present invention
Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product comprising be carried on computer
Computer program on readable medium, the computer program include the program code for method shown in execution flow chart.?
In such embodiment, which can be downloaded and installed from network by communications portion 809, and/or from can
Medium 811 is dismantled to be mounted.When the computer program is executed by central processing unit (CPU) 801, system of the invention is executed
The above-mentioned function of middle restriction.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor packet
It includes receiving module and module is presented.Wherein, the title of these modules does not constitute the limit to the module itself under certain conditions
It is fixed.
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be
Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes
Obtaining the equipment includes: to receive the information that object is sent in cluster, the icon background to obtain the object as display bottom,
One layer of text comprising object number is loaded in the bottom;According to the information that the object is sent, to construct object information frame;
Icon background, the text comprising object number and the object information frame of object is presented.
Technical solution according to an embodiment of the present invention, can be realized that a kind of applicable surface is extensive, simple mode is in flight circle
Face carries out aircraft displaying.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright
It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any
Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention
Within.