CN113051009B - Device ordering method, device ordering system and computer readable storage medium - Google Patents

Device ordering method, device ordering system and computer readable storage medium Download PDF

Info

Publication number
CN113051009B
CN113051009B CN201911377433.8A CN201911377433A CN113051009B CN 113051009 B CN113051009 B CN 113051009B CN 201911377433 A CN201911377433 A CN 201911377433A CN 113051009 B CN113051009 B CN 113051009B
Authority
CN
China
Prior art keywords
ordering
initial
information
linked list
terminal
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.)
Active
Application number
CN201911377433.8A
Other languages
Chinese (zh)
Other versions
CN113051009A (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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN201911377433.8A priority Critical patent/CN113051009B/en
Publication of CN113051009A publication Critical patent/CN113051009A/en
Application granted granted Critical
Publication of CN113051009B publication Critical patent/CN113051009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a device ordering method, a device ordering device, a device ordering system and a computer readable storage medium. The method comprises the following steps: acquiring initial ordering sequences corresponding to a plurality of terminal devices; generating an initial linked list according to terminal equipment information corresponding to each of the plurality of terminal equipment and an initial ordering sequence corresponding to the plurality of terminal equipment; generating an information entity based on the target ordering rule and the initial linked list; responding to the change of the state corresponding to the first terminal equipment in the plurality of terminal equipment, and acquiring target position information from an information entity according to the state information corresponding to the first terminal equipment and the first terminal equipment information; changing the corresponding position of the first terminal equipment in the initial linked list according to the target position information to obtain a target linked list; and updating the initial sorting orders corresponding to the plurality of terminal devices based on the target linked list to obtain a target sorting order. The embodiment of the invention improves the equipment ordering efficiency when the state of the terminal equipment is changed.

Description

Device ordering method, device ordering system and computer readable storage medium
Technical Field
The present invention relates to the field of display screen control technologies, and in particular, to a device ordering method, a device ordering apparatus, a device ordering system, and a computer readable storage medium.
Background
In the technical field of display screen control, a plurality of terminal devices are often required to be controlled in a clustered manner, and display information corresponding to the plurality of terminal devices is often required to be displayed on a user interface of upper computer software.
However, changing the ordering of the terminal devices becomes a challenge when the status of the terminal devices changes in real time or even very frequently. The existing technical scheme is that when the state of the terminal equipment changes, the whole list is quickly ordered, however, when only one state changes, the method can lead to the reordering of the whole list, the ordering speed is low, the consumed resources are more, and even when the ordering speed is not in line with the state change speed, a buffer zone is required to be established, so that a large amount of extra resources are required to be consumed. The existing other technical scheme is to establish different lists for different terminal devices in different states to separately maintain, when the terminal devices change in state, only the lists of the added items are reordered, however, the scheme has poor expansibility, when the terminal devices have a large number of states, a large number of lists need to be established, and when the terminal devices have a large number of the terminal devices in the same state, the optimization effect is very little.
Disclosure of Invention
Therefore, the embodiment of the invention discloses a device ordering method, a device ordering device, a device ordering system and a computer readable storage medium, which can avoid the defects of the prior art and improve the device ordering efficiency when the state of terminal equipment is changed.
Specifically, in a first aspect, an embodiment of the present invention discloses a device ordering method, including: acquiring initial ordering sequences corresponding to a plurality of terminal devices; generating an initial linked list according to the terminal equipment information corresponding to each of the plurality of terminal equipment and the initial ordering sequence corresponding to the plurality of terminal equipment; generating an information entity based on the set target ordering rule and the initial linked list; responding to the change of the state corresponding to the first terminal equipment in the plurality of terminal equipment, and acquiring target position information from the information entity according to the state information corresponding to the first terminal equipment and the first terminal equipment information; changing the corresponding position of the first terminal equipment in the initial linked list according to the target position information to obtain a target linked list; and updating the initial sorting orders corresponding to the plurality of terminal devices based on the target linked list to obtain a target sorting order.
In the prior art, when the state of the terminal equipment changes, the whole list is quickly ordered, however, when only one state changes, the method can lead to the reordering of the whole list, has low ordering speed and high consumption of resources, and even when the ordering speed is not up to the state change speed, a buffer area is also required to be established, so that a large amount of extra resources are required to be consumed, another existing scheme is to establish different lists for the terminal equipment in different states for separate maintenance, when the state of the terminal equipment changes, only the list with the items added is reordered, however, the scheme has poor expansibility, when the state of the terminal equipment is many, a plurality of lists are required to be established, and the optimizing effect caused by the fact that the number of the terminal equipment in the same state is many is very little. The device ordering method disclosed by the embodiment of the invention generates the initial linked list through the terminal device information and the initial ordering sequence corresponding to the plurality of terminal devices, generates the information entity based on the set target ordering rule and the initial linked list, responds to the change of the state corresponding to the first terminal device in the plurality of terminal devices, acquires the target position information from the information entity according to the state information corresponding to the first terminal device and the first terminal device information, acquires the target linked list according to the position corresponding to the target position information by changing the first terminal device in the initial linked list, and acquires the target ordering sequence by updating the initial ordering sequence corresponding to the plurality of terminal devices based on the target linked list, thereby improving the device ordering efficiency when the state of the terminal devices is changed, saving the storage resources of a computer, enabling the number of the computer devices which can be supported under the same configuration to be increased, realizing the one-by-one display when the state batch of the terminal devices is changed, and spreading the instantaneous pressure to a period of time, thereby reducing the load of the system.
In one embodiment of the present invention, the obtaining the initial ordering sequence corresponding to the plurality of terminal devices includes: acquiring history state information corresponding to each of the plurality of terminal devices based on a locally stored history record; and sequencing the plurality of terminal devices according to the terminal device information and the history state information corresponding to the plurality of terminal devices respectively to obtain the initial sequencing order.
In one embodiment of the present invention, the target ordering rule is one of a terminal name ordering rule based on state ordering, a terminal address ordering rule based on state ordering, and a display size ordering rule based on state ordering.
In one embodiment of the present invention, the generating an information entity based on the set target ordering rule and the initial linked list includes: and recording the position information corresponding to each turning node in the initial linked list based on the target ordering rule to obtain the information entity.
In one embodiment of the present invention, the recording, based on the target ordering rule, location information corresponding to each of a plurality of turning nodes in the initial linked list to obtain the information entity includes: responding to the target ordering rule as the terminal name ordering rule based on state ordering, taking adjacent nodes representing different state information in the initial linked list as turning nodes, taking adjacent nodes representing different terminal name identifications in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity; responding to the target ordering rule as the terminal address ordering rule based on state ordering, taking adjacent nodes representing different state information in the initial linked list as turning nodes, taking adjacent nodes representing different terminal address identifications in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity; and responding to the target ordering rule as the ordering rule of the display screen size based on state ordering, taking the adjacent nodes representing different state information in the initial linked list as turning nodes, taking the adjacent nodes representing different display screen sizes in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity.
In one embodiment of the present invention, after the generating an initial linked list according to the terminal device information corresponding to each of the plurality of terminal devices and the initial sorting order corresponding to the plurality of terminal devices, the method further includes: displaying device display information corresponding to each of the plurality of terminal devices on a user interface based on the initial sorting order; the device display information comprises a terminal device name, a terminal device address and a display screen size; after the target sorting order is obtained by updating the initial sorting orders corresponding to the plurality of terminal devices based on the target linked list, the method further comprises the following steps: and adjusting the display sequence of the device display information corresponding to each of the plurality of displayed terminal devices on the user interface based on the target sorting sequence.
In one embodiment of the present invention, after the generating an initial linked list according to the terminal device information corresponding to each of the plurality of terminal devices and the initial sorting order corresponding to the plurality of terminals, the method further includes: and identifying different state information corresponding to the plurality of terminal devices by using different colors so as to display the corresponding color identification when the device display information corresponding to each of the plurality of terminal devices is displayed on the user interface.
In a second aspect, an embodiment of the present invention discloses a device ordering apparatus, configured to perform any one of the device ordering methods described above, including: the ordering acquisition module is used for acquiring initial ordering sequences corresponding to the plurality of terminal devices; the linked list generation module is used for generating an initial linked list according to the terminal equipment information corresponding to each of the plurality of terminal equipment and the initial ordering sequence corresponding to the plurality of terminal equipment; the entity generation module is used for generating an information entity based on the set target ordering rule and the initial linked list; the position acquisition module is used for responding to the change of the state corresponding to the first terminal equipment in the plurality of terminal equipment and acquiring target position information from the information entity according to the state information corresponding to the first terminal equipment and the first terminal equipment information; the position adjustment module is used for changing the corresponding position of the first terminal equipment in the initial linked list according to the target position information to obtain a target linked list; and the sorting updating module is used for updating the initial sorting sequences corresponding to the plurality of terminal devices based on the target linked list to obtain a target sorting sequence.
In a third aspect, an embodiment of the present invention discloses a device ordering system, including: a processor and a memory coupled to the processor; wherein the memory stores instructions for execution by the processor and the instructions cause the processor to perform operations for performing any of the device ordering methods described above.
In a fourth aspect, embodiments of the present invention disclose a computer readable storage medium that is a non-volatile memory and that stores computer readable instructions comprising instructions for performing any of the device ordering methods described above.
As can be seen from the above, the embodiments of the present invention can achieve one or more of the following advantages: generating an initial linked list through terminal equipment information and an initial ordering sequence corresponding to each of a plurality of terminal equipment, generating an information entity based on a set target ordering rule and the initial linked list, and responding to the change of the state corresponding to a first terminal equipment in the plurality of terminal equipment, acquiring target position information from the information entity according to the state information corresponding to the first terminal equipment and the first terminal equipment information, changing the position corresponding to the first terminal equipment in the initial linked list according to the target position information to obtain the target linked list, updating the initial ordering sequence corresponding to the plurality of terminal equipment based on the target linked list to obtain the target ordering sequence, thereby improving the equipment ordering efficiency when the state of the terminal equipment is changed, saving computer storage resources, enabling the number of supported terminal equipment to be changed under the same configuration, realizing the one-by-one display when the state of the terminal equipment is changed in batches, distributing instantaneous pressure to a period of time, and reducing the load of a computer system; the display sequence of the device display information corresponding to each of the plurality of terminal devices is adjusted on the user interface based on the initial sequencing sequence, so that a dynamic effect of display change is brought to a user, and user experience is improved.
Other aspects and features of the present invention will become apparent from the following detailed description, which refers to the accompanying drawings. It is to be understood, however, that the drawings are designed solely for the purposes of illustration and not as a definition of the limits of the invention. It should be further understood that the drawings are not necessarily drawn to scale and that, unless otherwise indicated, they are merely intended to conceptually illustrate the structures and procedures described herein.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart of steps of a device ordering method disclosed in a first embodiment of the present invention;
FIG. 2 is a schematic block diagram of a device ordering apparatus according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of a device ordering system according to a third embodiment of the present invention;
fig. 4 is a schematic structural view of a computer readable storage medium according to a fourth embodiment of the present invention.
[ figure identification Specification ]
S11-S16: a step of a device ordering method;
20: a device ordering means; 21: a sequencing acquisition module; 22: a linked list generation module; 23: an entity generating module; 24: a position acquisition module; 25: a position adjustment module; 26: a sequencing updating module;
30: a device ordering system; 31: a processor; 32: a memory;
40: computer readable storage media.
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The invention will be described below with reference to the accompanying drawings in combination with embodiments.
In order that those skilled in the art will better understand the technical solutions of the present invention, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or otherwise described herein. 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.
It should be further noted that the division of the embodiments in the present invention is only for convenience of description, and should not be construed as a specific limitation, and features in the various embodiments may be combined and mutually referenced without contradiction.
[ first embodiment ]
Referring to fig. 1, a first embodiment of the present invention discloses a device ordering method. As shown in fig. 1, the device ordering method includes, for example, steps S11 to S16.
Step S11: acquiring initial ordering sequences corresponding to a plurality of terminal devices;
step S12: generating an initial linked list according to the terminal equipment information corresponding to each of the plurality of terminal equipment and the initial ordering sequence corresponding to the plurality of terminal equipment;
step S13: generating an information entity based on the set target ordering rule and the initial linked list;
step S14: responding to the change of the state corresponding to the first terminal equipment in the plurality of terminal equipment, and acquiring target position information from the information entity according to the state information corresponding to the first terminal equipment and the first terminal equipment information;
step S15: changing the corresponding position of the first terminal equipment in the initial linked list according to the target position information to obtain a target linked list;
step S16: and updating the initial sorting orders corresponding to the plurality of terminal devices based on the target linked list to obtain a target sorting order.
In particular, the terminal device mentioned in step S11 is, for example, a multimedia playing box, which is typically connected to a transmitting card of the LED display control system.
Further, step S11 includes, for example: acquiring history state information corresponding to each of the plurality of terminal devices based on a locally stored history record; and sorting the plurality of terminal devices according to the terminal device information and the history state information corresponding to the plurality of terminal devices respectively to obtain the initial sorting order. Wherein the generation of the initial ranking order is for example based on a fast ranking algorithm. By acquiring the historical state information of the plurality of terminal devices from the historical records to establish an initial sorting order, the initial sorting is not required to be performed after the plurality of terminal devices are identified, and the sorting efficiency after the state of a certain terminal device is changed is improved.
The terminal device information mentioned in step S12 includes, for example: terminal status information, terminal device name, terminal device address, and display screen size. The terminal state information includes, for example, an online state, an offline state, or an unregistered state. The terminal device address is, for example, an IP address. The size of the display screen is, for example, the size of the display screen connected to the terminal device, where the size of the display screen is, for example, 400×400 or 512×128. Wherein, the terminal equipment information corresponding to each terminal equipment is stored in one node of the initial linked list, and the connection sequence among the nodes corresponds to the initial sorting sequence.
The target sorting rule mentioned in step S13 is, for example, one of a terminal name sorting rule based on state sorting, a terminal address sorting rule based on state sorting, and a display size sorting rule based on state sorting, which is not limited to the above embodiments. Reference to an information entity is to be understood as a collection of information in which a plurality of information is stored.
Further, step S13 includes, for example: and recording the position information corresponding to each turning node in the initial linked list based on the target ordering rule to obtain the information entity. Namely, the information entity comprises the position information of a plurality of turning nodes in the initial linked list, and when the linked list is changed, the information entity updates the stored position information of the turning nodes. The turning nodes mentioned differ according to the target ordering rules.
Specifically, the recording, based on the target ordering rule, the location information corresponding to each of the plurality of turning nodes in the initial linked list to obtain the information entity includes: and responding to the target ordering rule as the terminal name ordering rule based on state ordering, taking the adjacent nodes representing different state information in the initial linked list as turning nodes, taking the adjacent nodes representing different terminal name identifications in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity. It can be understood that, a node with changed terminal state information stored in the initial linked list is taken as a turning node, for example, the terminal state information stored in a certain node is in an offline state, and the terminal state information stored in a node before the node is in an online state, and then the node and a previous node connected with the node are taken as turning nodes; and taking the adjacent node with the changed terminal name identifier stored in the node storing the same terminal state information as a turning point, wherein the terminal name identifier can be understood as a distinguishing point of the terminal names, and the terminal device names corresponding to the plurality of terminal devices are for example product models and device labels, wherein the product models corresponding to the same batch of terminal devices are for example the same, but the device labels are different, the plurality of terminal devices with the same terminal state information can be sequenced from large to small in the device labels based on the terminal device names, and the position information of the node corresponding to the different device labels is recorded.
Further, the recording, based on the target ordering rule, the location information corresponding to each of the plurality of turning nodes in the initial linked list to obtain the information entity includes: and responding to the target ordering rule as the terminal address ordering rule based on state ordering, taking the adjacent nodes representing different state information in the initial linked list as turning nodes, taking the adjacent nodes representing different terminal address identifications in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity. The method comprises the steps of determining the node position of the terminal state information, and recording the node with different terminal address identifiers in the same terminal state information as turning nodes according to the same principle as the terminal name ordering rule based on the state ordering, wherein the terminal address identifiers are the last three bits of the IP addresses, and ordering according to the last three bits of the IP addresses in the actual terminal address ordering rule based on the state ordering.
Further, the recording, based on the target ordering rule, the location information corresponding to each of the plurality of turning nodes in the initial linked list to obtain the information entity includes: and responding to the target ordering rule as the ordering rule of the display screen size based on state ordering, taking the adjacent nodes representing different state information in the initial linked list as turning nodes, taking the adjacent nodes representing different display screen sizes in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity. The method is based on the same principle as the terminal name ordering rule based on state ordering, the node position of the terminal state information is determined, and nodes with different display screen sizes in the same terminal state information are recorded as turning nodes.
In step S14, the first terminal device is one of a plurality of terminal devices, and the state change may be understood as a change of terminal state information, for example, from an offline state to an unregistered state, or from an online state to an offline state, etc. The step S14 of obtaining the target location information from the information entity according to the state information corresponding to the first terminal device and the first terminal device information may be understood as first determining an area of the first terminal device in the linked list according to the state information of the first terminal device, because node location information with changed state is already recorded in the information entity, thereby determining which area the first terminal device is, then determining the terminal device information to which the ordering refers according to the current target ordering rule, for example, the ordering rule needs the terminal device name in the terminal device information based on the terminal name ordering rule of the state ordering, the ordering rule needs the terminal device address in the terminal device information based on the terminal address ordering rule of the state ordering and the display size in the terminal device information based on the display size ordering rule of the state ordering, and then further determining the specific location in the linked list from the information entity based on the determined terminal device information.
Step S15 may be understood as detaching the node corresponding to the first terminal device in the linked list from the initial linked list, and moving the node to the node position corresponding to the target position information to obtain the target linked list.
Step S16 may be understood as that when the linked list changes, the ordering order of the corresponding plurality of terminal devices changes.
Further, after step S12, the device ordering method disclosed in the present embodiment further includes, for example: and displaying the device display information corresponding to each of the plurality of terminal devices on a user interface based on the initial sorting order, wherein the device display information comprises a terminal device name, a terminal device address and a display screen size. The mentioned user interface is the interface corresponding to the upper computer software. After step S16, further including: and adjusting the display sequence of the device display information corresponding to each of the plurality of displayed terminal devices on the user interface based on the target sorting sequence. The user interface can display the device display information corresponding to the current plurality of terminal devices in real time according to the ordering sequence corresponding to the plurality of terminal devices, and when the ordering sequence is changed, the user interface can update the display sequence in real time, so that a client can intuitively see the ordering condition, and the user experience is improved.
Further, after step S12, the device ordering method disclosed in the present embodiment further includes: and identifying different state information corresponding to the plurality of terminal devices by using different colors so as to display the corresponding color identification when the device display information corresponding to each of the plurality of terminal devices is displayed on the user interface. Namely, different state information is marked corresponding to different colors, for example, the online state is corresponding to green, the offline state is corresponding to gray and the unregistered state is corresponding to yellow, and the color mark is correspondingly displayed on the user interface, so that the state condition of each device can be more intuitively seen.
In summary, the device ordering method disclosed by the invention generates the initial linked list through the terminal device information and the initial ordering sequence corresponding to each of the plurality of terminal devices, generates the information entity based on the set target ordering rule and the initial linked list, and responds to the change of the state corresponding to the first terminal device in the plurality of terminal devices, acquires the target position information from the information entity according to the state information corresponding to the first terminal device and the first terminal device information, changes the position corresponding to the first terminal device in the initial linked list according to the target position information to obtain the target linked list, and updates the initial ordering sequence corresponding to the plurality of terminal devices based on the target linked list to obtain the target ordering sequence, thereby improving the device ordering efficiency when the state of the terminal devices is changed, saving the storage resources of a computer, enabling the number of the terminal devices which can be supported under the same configuration to be increased, realizing the display when the state of the terminal devices is changed one by one in batches, and spreading the instantaneous pressure to a period of time, and reducing the load of the computer system; the display sequence of the device display information corresponding to each of the plurality of terminal devices is adjusted on the user interface based on the initial sequencing sequence, so that a dynamic effect of display change is brought to a user, and user experience is improved.
[ second embodiment ]
Referring to fig. 2, a second embodiment of the present invention discloses a device ordering apparatus. As shown in fig. 2, the device ordering apparatus 20 includes, for example: a ranking acquisition module 21, a linked list generation module 22, an entity generation module 23, a position acquisition module 24, a position adjustment module 25 and a ranking update module 26.
The sequence obtaining module 21 is configured to obtain an initial sequence corresponding to the plurality of terminal devices. The linked list generating module 22 is configured to generate an initial linked list according to the terminal device information corresponding to each of the plurality of terminal devices and the initial ordering sequence corresponding to the plurality of terminal devices. The entity generating module 23 is configured to generate an information entity based on the set target ordering rule and the initial linked list. The location obtaining module 24 is configured to obtain, in response to a change in a state corresponding to a first terminal device of the plurality of terminal devices, target location information from the information entity according to the state information corresponding to the first terminal device and the first terminal device information. The position adjustment module 25 is configured to change a position of the first terminal device corresponding to the initial linked list according to the target position information to obtain a target linked list. The order update module 26 is configured to update the initial order sequences corresponding to the plurality of terminal devices based on the target linked list to obtain a target order sequence.
The device sorting method implemented by the device sorting apparatus 20 according to the present embodiment is as described in the foregoing first embodiment, and thus will not be described in detail herein. Optionally, each module in the second embodiment and the other operations or functions described above are respectively for implementing the method in the first embodiment of the present invention, and the beneficial effects are the same as those in the first embodiment, and are not described herein for brevity.
[ third embodiment ]
Referring to fig. 3, a third embodiment of the present invention discloses a device ordering system. As shown in fig. 3, the device ordering system 30 includes, for example: a processor 31 and a memory 32 connected to the processor 31. Wherein the memory 32 stores instructions for execution by the processor 31 and which cause the processor 31 to perform operations to perform the apparatus ordering method as described in the first embodiment.
It should be noted that, the device ordering system 30 according to the present embodiment has instructions that cause the processor 31 to perform operations to perform the device ordering method according to the first embodiment, so that the detailed description thereof will not be provided herein. Optionally, in order to implement the method in the first embodiment of the present invention, each processor and each memory in the present embodiment are the same as the technical effects of the device ordering method in the first embodiment, and are not described herein.
[ fourth embodiment ]
Referring to fig. 4, a fourth embodiment of the present invention discloses a computer-readable storage medium. As shown in fig. 4, the computer-readable storage medium 40 stores computer-readable instructions. The computer readable instructions comprise instructions for performing the device ordering method as described in the first embodiment above, and will not be repeated here. The computer readable storage medium 40 is, for example, a nonvolatile memory, such as including: magnetic media (e.g., hard disk, floppy disk, and magnetic strips), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices that are specially constructed for storing and performing computer-executable instructions (e.g., read-only memory (ROM), random Access Memory (RAM), flash memory, etc.). The computer-readable storage medium 40 may execute computer-readable instructions by one or more processors or processing devices.
In addition, the technical effects of the computer readable storage medium 40 disclosed in the present embodiment are the same as those of the device ordering method in the first embodiment, and will not be described herein.
In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and/or methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units 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 units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit/module in the embodiments of the present application may be integrated in one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated in one unit/module. The integrated units/modules may be implemented in hardware or in hardware plus software functional units/modules.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A method of device ordering comprising:
acquiring initial ordering sequences corresponding to a plurality of terminal devices;
generating an initial linked list according to the terminal equipment information corresponding to each of the plurality of terminal equipment and the initial ordering sequence corresponding to the plurality of terminal equipment;
generating an information entity based on the set target ordering rule and the initial linked list;
responding to the change of the state corresponding to the first terminal equipment in the plurality of terminal equipment, and acquiring target position information from the information entity according to the state information corresponding to the first terminal equipment and the first terminal equipment information;
changing the corresponding position of the first terminal equipment in the initial linked list according to the target position information to obtain a target linked list; and
updating the initial sorting orders corresponding to the plurality of terminal devices based on the target linked list to obtain a target sorting order;
the generating an information entity based on the set target ordering rule and the initial linked list comprises the following steps:
recording position information corresponding to each turning node in the initial linked list based on the target ordering rule to obtain the information entity;
the step of recording the position information corresponding to each of the turning nodes in the initial linked list based on the target ordering rule to obtain the information entity includes:
based on the target ordering rule, taking adjacent nodes of different state information in the initial linked list as turning nodes, taking the identified adjacent nodes corresponding to the names of the target ordering rule of different terminals in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity.
2. The device ordering method according to claim 1, wherein the obtaining the initial ordering orders corresponding to the plurality of terminal devices includes:
acquiring history state information corresponding to each of the plurality of terminal devices based on a locally stored history record;
and sequencing the plurality of terminal devices according to the terminal device information and the history state information corresponding to the plurality of terminal devices respectively to obtain the initial sequencing order.
3. The device ordering method of claim 1, wherein the target ordering rule is one of a terminal name ordering rule based on state ordering, a terminal address ordering rule based on state ordering, and a display size ordering rule based on state ordering.
4. The apparatus ordering method according to claim 3, wherein the obtaining the information entity by using, based on the target ordering rule, neighboring nodes of different state information in the initial linked list as the turning nodes, and using, as the turning nodes, identified neighboring nodes corresponding to names of the target ordering rule characterizing different terminals in a plurality of nodes of the same state information, and recording position information of the turning nodes in the initial linked list includes:
responding to the target ordering rule as the terminal name ordering rule based on state ordering, taking adjacent nodes representing different state information in the initial linked list as turning nodes, taking adjacent nodes representing different terminal name identifications in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity;
responding to the target ordering rule as the terminal address ordering rule based on state ordering, taking adjacent nodes representing different state information in the initial linked list as turning nodes, taking adjacent nodes representing different terminal address identifications in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity;
and responding to the target ordering rule as the ordering rule of the display screen size based on state ordering, taking the adjacent nodes representing different state information in the initial linked list as turning nodes, taking the adjacent nodes representing different display screen sizes in a plurality of nodes representing the same state information as the turning nodes, and recording the position information of the turning nodes in the initial linked list to obtain the information entity.
5. The apparatus sorting method according to claim 1, further comprising, after said generating an initial linked list according to terminal apparatus information corresponding to each of said plurality of terminal apparatuses and said initial sorting order corresponding to said plurality of terminal apparatuses:
displaying device display information corresponding to each of the plurality of terminal devices on a user interface based on the initial sorting order; the device display information comprises a terminal device name, a terminal device address and a display screen size;
after the target sorting order is obtained by updating the initial sorting orders corresponding to the plurality of terminal devices based on the target linked list, the method further comprises the following steps:
and adjusting the display sequence of the device display information corresponding to each of the plurality of displayed terminal devices on the user interface based on the target sorting sequence.
6. The apparatus sorting method according to claim 5, further comprising, after said generating an initial linked list according to terminal apparatus information corresponding to each of said plurality of terminal apparatuses and said initial sorting order corresponding to said plurality of terminals:
and identifying different state information corresponding to the plurality of terminal devices by using different colors so as to display the corresponding color identification when the device display information corresponding to each of the plurality of terminal devices is displayed on the user interface.
7. A device ordering apparatus for performing the device ordering method of any one of claims 1 to 6, the device ordering apparatus comprising:
the ordering acquisition module is used for acquiring initial ordering sequences corresponding to the plurality of terminal devices;
the linked list generation module is used for generating an initial linked list according to the terminal equipment information corresponding to each of the plurality of terminal equipment and the initial ordering sequence corresponding to the plurality of terminal equipment;
the entity generation module is used for generating an information entity based on the set target ordering rule and the initial linked list;
the position acquisition module is used for responding to the change of the state corresponding to the first terminal equipment in the plurality of terminal equipment and acquiring target position information from the information entity according to the state information corresponding to the first terminal equipment and the first terminal equipment information;
the position adjustment module is used for changing the corresponding position of the first terminal equipment in the initial linked list according to the target position information to obtain a target linked list; and
and the sorting updating module is used for updating the initial sorting sequences corresponding to the plurality of terminal devices based on the target linked list to obtain a target sorting sequence.
8. A device ordering system, comprising: a processor and a memory coupled to the processor, wherein the memory stores instructions for execution by the processor and the instructions cause the processor to perform operations to perform the device ordering method of any one of claims 1 to 6.
9. A computer readable storage medium, characterized in that the computer readable storage medium is a non-volatile memory and stores computer readable instructions comprising instructions for performing the device ordering method according to any of claims 1 to 6.
CN201911377433.8A 2019-12-27 2019-12-27 Device ordering method, device ordering system and computer readable storage medium Active CN113051009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911377433.8A CN113051009B (en) 2019-12-27 2019-12-27 Device ordering method, device ordering system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911377433.8A CN113051009B (en) 2019-12-27 2019-12-27 Device ordering method, device ordering system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113051009A CN113051009A (en) 2021-06-29
CN113051009B true CN113051009B (en) 2024-01-09

Family

ID=76506325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911377433.8A Active CN113051009B (en) 2019-12-27 2019-12-27 Device ordering method, device ordering system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113051009B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007034878A (en) * 2005-07-29 2007-02-08 Turbo Data Laboratory:Kk Information processing method, information processor, and information processing program
CN106354371A (en) * 2016-09-06 2017-01-25 深圳市金立通信设备有限公司 Application sorting method and terminal
CN107368235A (en) * 2017-06-27 2017-11-21 上海展扬通信技术有限公司 The multitask switching method and function machine of function machine
CN107608719A (en) * 2017-09-11 2018-01-19 深圳市金立通信设备有限公司 A kind of interface operation method, terminal and computer-readable recording medium
CN107807820A (en) * 2017-10-20 2018-03-16 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and readable storage medium storing program for executing
CN107888716A (en) * 2017-12-05 2018-04-06 广东欧珀移动通信有限公司 A kind of sort method of domain name resolution server, terminal device and storage medium
US10366086B1 (en) * 2018-10-12 2019-07-30 Xerox Corporation Sorting of devices for file distribution

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11270334B2 (en) * 2017-08-30 2022-03-08 Dynamic Yield Ltd. Systems and methods for generating adjustment(s) for distributing content variations to target entities for performance of an associated action

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007034878A (en) * 2005-07-29 2007-02-08 Turbo Data Laboratory:Kk Information processing method, information processor, and information processing program
CN106354371A (en) * 2016-09-06 2017-01-25 深圳市金立通信设备有限公司 Application sorting method and terminal
CN107368235A (en) * 2017-06-27 2017-11-21 上海展扬通信技术有限公司 The multitask switching method and function machine of function machine
CN107608719A (en) * 2017-09-11 2018-01-19 深圳市金立通信设备有限公司 A kind of interface operation method, terminal and computer-readable recording medium
CN107807820A (en) * 2017-10-20 2018-03-16 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and readable storage medium storing program for executing
CN107888716A (en) * 2017-12-05 2018-04-06 广东欧珀移动通信有限公司 A kind of sort method of domain name resolution server, terminal device and storage medium
US10366086B1 (en) * 2018-10-12 2019-07-30 Xerox Corporation Sorting of devices for file distribution

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Tommi Heikkinen等."Tandem Browsing Toolkit: Distributed Multi-Display Interfaces with Web Technologies".《PerDis '14: Proceedings of The International Symposium on Pervasive Displays》.2014,全文. *
周明 ; .移动目标监控终端系统的设计.计算机测量与控制.2010,(第04期),全文. *
面向室内空间的时空数据管理关键技术研究;汪娜;《知网》;全文 *

Also Published As

Publication number Publication date
CN113051009A (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN107104824B (en) Network topology determination method and device
CN104407911B (en) Virtual machine migration method and device
CN107222327A (en) A kind of method and device based on cloud platform management server
CN104216756A (en) Virtual machine managing apparatus, method of managing virtual machine, and information processing system
CN108052281A (en) Business Information storage method, application server and computer storage media
WO2016192794A1 (en) Network function virtualisation
EP3183848B1 (en) Optimization framework for multi-tenant data centers
CN106775498A (en) A kind of data cached synchronous method and system
CN110413282A (en) A kind of redundant resource processing method, device, equipment and storage medium
CN109391548A (en) List item moving method, device and network communicating system
CN107045413A (en) Application program image target display methods and device
US10897502B2 (en) Systems and methods for device migration
CN113051009B (en) Device ordering method, device ordering system and computer readable storage medium
CN109861869B (en) Configuration file generation method and device
CN115048254A (en) Simulation test method, system, equipment and readable medium of data distribution strategy
CN107894874A (en) Data read-write control method, terminal and system based on super fusion storage system
CN112491722B (en) Address table maintenance method, device and equipment
CN108512705A (en) Synchronous method, equipment, storage medium, device and the server of supervision standard
CN110851186B (en) Network equipment restarting method and device, electronic equipment and readable storage medium
CN105930100B (en) A kind of implementation method optimizing usim card file read-write speed and frequency
CN110362540A (en) A kind of storage of data, visitor's number acquisition methods and device
CN107547622B (en) Resource adjusting method and device
CN105847030A (en) Information processing method and electronic equipment
CN112766741A (en) Query method, system, terminal and storage medium
JP2012190119A (en) Apparatus management device and program

Legal Events

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