CN108401168B - Conflict resolution method, device, equipment and storage medium - Google Patents

Conflict resolution method, device, equipment and storage medium Download PDF

Info

Publication number
CN108401168B
CN108401168B CN201810174751.3A CN201810174751A CN108401168B CN 108401168 B CN108401168 B CN 108401168B CN 201810174751 A CN201810174751 A CN 201810174751A CN 108401168 B CN108401168 B CN 108401168B
Authority
CN
China
Prior art keywords
set top
top boxes
conflict
frequency point
delay
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
CN201810174751.3A
Other languages
Chinese (zh)
Other versions
CN108401168A (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201810174751.3A priority Critical patent/CN108401168B/en
Publication of CN108401168A publication Critical patent/CN108401168A/en
Application granted granted Critical
Publication of CN108401168B publication Critical patent/CN108401168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Small-Scale Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a conflict resolution method, a conflict resolution device, conflict resolution equipment and a storage medium. Wherein, the method comprises the following steps: if a conflict event generated by sending control instructions by at least two set top boxes simultaneously is detected, acquiring port numbers of the at least two set top boxes; respectively determining the delay time of the at least two set top boxes according to the port numbers of the at least two set top boxes; sending a delay sending instruction containing the delay time to the at least two set top boxes, wherein the delay sending instruction is used for indicating to resend the control instruction after waiting for the delay time; responding to the control instruction retransmitted by the at least two set top boxes. According to the technical scheme provided by the embodiment of the invention, the delay time of each set top box is determined according to the port number of each set top box which is in conflict, so that the conflict between a plurality of set top boxes can be avoided, and the conflict problem caused by the simultaneous transmission of control instructions by the plurality of set top boxes can be efficiently and completely processed.

Description

Conflict resolution method, device, equipment and storage medium
Technical Field
The present invention relates to the field of digital television technologies, and in particular, to a conflict resolution method, apparatus, device, and storage medium.
Background
With the development of digital television technology in recent years, digital television services have steadily developed on a global scale. Meanwhile, the appearance of the satellite Unicable equipment provides convenience for people. The satellite Unicable equipment is proposed for solving the problem that a plurality of satellite set-top boxes use one satellite pot at the same time. When a plurality of set top boxes are connected with the same satellite pot, horizontal and vertical voltages and high and low local oscillators are controlled by the Unicable, so that signals with different frequency points are transmitted on the intermediate frequency specified by the Unicable respectively when the set top boxes work simultaneously.
When a plurality of set top boxes are connected with the Unicable equipment, the set top boxes need to communicate with the Unicable equipment. Specifically, the set-top box sends a disecc (Digital Satellite Equipment Control) signal command switching signal to the Unicable Equipment, because the Diseqc signal is modulated by a fixed 22K signal waveform, when more than one set-top box sends the disecc signal command at the same time, a command conflict occurs, and because the Unicable is still a signal of a last frequency point locked, and because the set-top box uses an intermediate frequency signal distributed by the Unicable Equipment when locking the screen, the set-top box is locked just the signal of the last frequency point, which will result in that the set-top box will not succeed in switching programs. At present, in the prior art, a random delay is added to reduce a conflict when a command is sent, and the time for sending the command is staggered, but the conflict cannot be completely solved, only the probability is reduced, the random delay is added before the command is sent, and when no conflict exists, the time for switching signals is also increased.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for solving a conflict, in which a delay time of each set top box is determined according to a port number of each set top box in which a conflict occurs, so that a conflict between multiple set top boxes can be avoided, and a conflict problem caused by multiple set top boxes sending control instructions at the same time can be efficiently and completely handled.
In a first aspect, an embodiment of the present invention provides a conflict resolution method, where the method includes:
if a conflict event generated by sending control instructions by at least two set top boxes simultaneously is detected, acquiring port numbers of the at least two set top boxes;
respectively determining the delay time of the at least two set top boxes according to the port numbers of the at least two set top boxes;
sending a delay sending instruction containing the delay time to the at least two set top boxes, wherein the delay sending instruction is used for indicating to resend the control instruction after waiting for the delay time;
responding to the control instruction retransmitted by the at least two set top boxes.
In a second aspect, an embodiment of the present invention further provides a conflict resolution apparatus, where the apparatus includes:
the port number acquisition module is used for acquiring the port numbers of at least two set top boxes if a collision event generated by the simultaneous transmission of the control commands by the at least two set top boxes is detected;
a delay time determining module, configured to determine delay times of the at least two set top boxes respectively according to the port numbers of the at least two set top boxes;
the instruction sending module is used for sending a delay sending instruction containing the delay time to the at least two set top boxes, wherein the delay sending instruction is used for indicating that the control instruction is sent again after waiting for the delay time;
and the command response module is used for responding the control command retransmitted by the at least two set top box set top boxes.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the conflict resolution method of any of the first aspects.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the conflict resolution method described in any of the first aspects.
According to the conflict resolution method, the conflict resolution device, the conflict resolution equipment and the storage medium provided by the embodiment of the invention, when the Unicable equipment detects that the conflict is generated because at least two set top boxes simultaneously send the control command, the delay time of each set top box is determined according to the port number corresponding to each set top box in the conflict, and the delay time is sent to the corresponding set top box to indicate the set top box to resend the control command after waiting for the delay time until finally responding to the control command, so that the channel switching of the set top box is successful. The method determines different delay times for different set top boxes according to the port numbers, can avoid conflict among a plurality of set top boxes, and can efficiently and completely solve the conflict problem caused by the simultaneous sending of the control commands by at least two set top boxes.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 is a flow chart of a conflict resolution method provided in a first embodiment of the present invention;
FIG. 2 is an illustration of a port and an intermediate frequency of a Unicable device provided in the first embodiment of the present invention;
fig. 3 is a flowchart of a conflict resolution method provided in the second embodiment of the present invention;
fig. 4 is a block diagram of a conflict resolution apparatus provided in the third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus provided in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 1 is a flowchart of a conflict resolution method according to an embodiment of the present invention, and this embodiment is suitable for a satellite unit to resolve a conflict generated by using multiple set top boxes simultaneously. The method may be performed by a conflict resolution apparatus provided by the embodiment of the present invention, and the apparatus may be implemented in software and/or hardware. Referring to fig. 1, the method specifically includes:
s110, if a conflict event generated by sending control commands by at least two set top boxes simultaneously is detected, the port numbers of the at least two set top boxes are obtained.
The control instruction is a signal instruction with fixed frequency, namely a Disqec signal instruction, which is sent to the Unicable device by the set top box and can be used for switching channels; wherein the fixed frequency is 22 KHz. Optionally, the control instruction may further include information such as a model of the set-top box and an intermediate frequency where the set-top box is located.
The Unicable device is generally provided with 4 or 8 ports, and can be used for connecting 4 or 8 set top boxes, and each port corresponds to a different intermediate frequency. Fig. 2 is an explanatory diagram of ports and intermediate frequencies of a piece of Unicable device, in which ZF1 to ZF8 are 8 ports.
The conflict event refers to a conflict of control commands generated by at least two set top boxes connected to the same Unicable device sending control commands to the Unicable device at the same time.
The Unicable device can be provided with a monitoring unit for monitoring the working state of each set top box, and then can also be used for monitoring whether a conflict event occurs. Specifically, when the monitoring unit monitors that a collision event occurs between more than two set top boxes, the Unicable device will automatically read the corresponding port number according to the intermediate frequency of the set top box in the control command.
And S120, respectively determining the delay time of the at least two set top boxes according to the port numbers of the at least two set top boxes.
Specifically, since the port numbers corresponding to the set-top boxes are different, the port numbers can be used as delay times, that is, the delay times of different set-top boxes are different.
Further, in order to make the calculated delay time more reliable, the delay time is determined by comprehensively considering other factors such as the port number of the set-top box where the collision event occurs, the time required for actually sending the control command, and the related delay. For example, the method for determining the delay time may further include: and respectively determining the delay time of the at least two set top boxes according to the port numbers of the at least two set top boxes and a first time length, wherein the first time length is greater than the time required for sending the control command.
It should be noted that, in general, the time required for sending a control instruction to the Unicable device by one set top box is about 120ms, and the delay caused by various errors is considered comprehensively, and the first time length may be 200ms in this embodiment. And performing product operation on the first time length and the port number of the corresponding set top box to obtain the delay time.
In the prior art, in order to avoid a collision event, each set top box randomly adds a delay before sending a control instruction to a Unicable device and then sends the control instruction, and the method carries out random delay without judging the collision event, so that the user experience is poor and the collision problem is not actually solved. In this embodiment, whether a collision event occurs is determined, and when the collision event is determined, a delay is set according to an actual situation, for example, the delay time of each set top box is determined according to the port number corresponding to each set top box in which the collision occurs and the first time length, so that the determined delay time is more reliable than the random delay in the prior art.
Because each port is different, the conflict event can be solved by multiplying the first time length by the port number of the corresponding set-top box to obtain the delay time, but in order to quickly respond to the requirement of the user, the delay time can be obtained as follows: according to the actual port number values, the first port number is used as an initial value or is reduced according to a certain proportion to be used as an initial value, the numerical value with the same number as the port number is obtained in the form of an arithmetic difference series with the tolerance of 0.2, 0.5 or 1 and the like to be used as a new port number, and the new port number is multiplied by the first time length to be used as delay time. For example, when the first port number has a value of 1, the equal difference numbers are 1, 1.2, 1.4, 1.6, 1.8, 2, 2.2 and 2.4, which correspond to ZF1 to ZF 88 port numbers in fig. 2, respectively.
And S130, sending a delay sending instruction containing delay time to at least two set top boxes, wherein the delay sending instruction is used for indicating to resend the control instruction after waiting for the delay time.
After the communication unit on the Unicable device determines the delay time corresponding to each set top box in which a conflict event occurs according to the port number corresponding to each set top box in which the conflict event occurs, the communication unit on the Unicable device sends the delay instruction containing the delay time to the corresponding set top box so as to instruct the set top box to resend the control instruction after waiting for the delay time.
For example, in fig. 2, a set top box a corresponding to the ZF1 port and a set top box B corresponding to the ZF2 have a collision event, and the Unicable device calculates a delay time t1 corresponding to the set top box a is 200ms ZF1 and a delay time t2 corresponding to the set top box B is 200ms ZF2, respectively; and transmits a delay instruction containing t1 to set-top box a and a delay instruction containing t2 to set-top box B. And after receiving the corresponding instruction, the set top box A and the set top box B respectively delay the corresponding time and then send the control instruction to the Unicable equipment again. At this time, since ZF1 is different from ZF2, the control instructions retransmitted again by set-top box a and set-top box B will not collide. For example, the delay time corresponding to the Unicable device calculating the set top box a may be t1 ═ 200ms × 1 and the delay time corresponding to the set top box B may be t2 ═ 200ms × 1.2, respectively.
And S140, responding to the control instruction retransmitted by the at least two set top boxes.
To fully resolve the conflict between the set-top boxes, the exemplary control commands in response to the retransmission of at least two set-top boxes may include: respectively carrying out conflict judgment on the control commands retransmitted by the at least two set top boxes and the control commands transmitted by other set top boxes except the at least two set top boxes; and responding to the control instruction if the conflict event does not exist.
Taking the above example as an example, the Unicable device needs to perform conflict judgment on the control instruction retransmitted by the set top box a and the set top box B and the control instruction transmitted by the set top box corresponding to other ports of the Unicable device, i.e. ZF3 to ZF8, respectively, and if no conflict event exists, the control instruction is responded; if there is a collision event, the operations of steps S110 to S140 are repeated again until there is no collision event.
According to the conflict solution method provided by the embodiment of the invention, when the Unicable device detects that the conflict is generated because at least two set top boxes simultaneously send the control command, the delay time of each set top box is determined according to the port number corresponding to each set top box in the conflict, and the delay time is sent to the corresponding set top box to indicate the set top box to resend the control command after waiting for the delay time until the control command is finally responded, so that the channel switching of the set top box is successful. The method determines different delay times for different set top boxes according to the port numbers, can avoid conflict among a plurality of set top boxes, and can efficiently and completely solve the conflict problem caused by the simultaneous sending of the control commands by at least two set top boxes.
Example two
Fig. 3 is a flowchart of a conflict resolution method according to a second embodiment of the present invention, which provides a method for generating a conflict event, that is, a method for determining whether a conflict occurs, based on the second embodiment. Referring to fig. 3, the method specifically includes:
and S310, if the control commands sent by the at least two set top boxes are received, respectively acquiring the current frequency point characteristic information from the program association tables of the at least two set top boxes.
The Program Association Table (PAT) is a root node indicated by a Program in the digital television system. The frequency point characteristic information may include Transport Stream ID (TS ID) and program information Service ID. The TS ID information refers to a unique data stream ID used for marking audio and video transmission or other information; the Service ID may include information on program play, decryption, frequency information, program name, program type, program provider, etc.
Other SI tables such as the Service description table SDT of the DVB also contain frequency point information, i.e., TS ID and Service ID information, but since the sending frequency of the PAT table front end is only about 100ms, the Unicable device can quickly obtain the TS ID and Service ID information of the PAT table, so that the present embodiment adopts to obtain the current frequency point information from the PAT table.
And S320, comparing the acquired frequency point characteristic information with the frequency point characteristic information stored in the program database.
The frequency point characteristic information comprises transport stream information and program information. Correspondingly, comparing the obtained frequency point characteristic information with the frequency point characteristic information stored in the program database may be: if the transport stream information in the frequency point characteristic information is the same as the transport stream information stored in the program database, and the program information in the frequency point characteristic information is the same as the program information stored in the program database, determining that the transport stream information is consistent; otherwise, the verification is inconsistent. The TS ID and Service ID information of the PAT table are compared with the TS ID and Service ID information of the database of the program to be switched currently.
The program database may be pre-stored by the Ubicable device according to the port number, and different set top boxes correspond to different program databases. Under the condition that no conflict event occurs, the corresponding programs in the set top box and the Ubicable device are synchronous.
And S330, if the data are not consistent, generating a conflict event.
Taking the case that the set top box a corresponding to the ZF1 port and the set top box B corresponding to the ZF2 have a collision event as an example, if the control command sent by the set top box a to the Unicable device is that the central set is switched to the central set, the Unicable device acquires the TS ID and Service ID information of the current frequency point from the PAT table of the set top box a, and compares the TS ID and Service ID information with the TS ID and Service ID of the database of the program to be switched currently, and if the TS ID and Service ID information are not consistent, it is proved that the set top box a has a collision event with other set top boxes.
At this time, if the Service ID information obtained from the set-top box a is consistent with the Service ID information of the database of the program to be switched currently, the television set corresponding to the set-top box a displays the program number corresponding to the second central station, but plays the program of the first central station; if none are consistent, the television will appear to be blank or waiting for an interface.
S340, acquiring port numbers of at least two set top boxes.
S350, respectively determining the delay time of at least two set top boxes according to the port numbers of the at least two set top boxes.
And S360, sending a delay sending instruction containing delay time to at least two set top boxes, wherein the delay sending instruction is used for indicating to resend the control instruction after waiting for the delay time.
And S370, responding to the control instruction retransmitted by the at least two set top boxes.
The conflict resolution method provided by the embodiment of the invention judges whether a conflict event exists by comparing the current frequency point characteristic information acquired from the program association table of the set top box with the corresponding characteristics in the program database, determines the delay time of each set top box according to the port number corresponding to each set top box in conflict if the conflict event occurs, and sends the delay time to the corresponding set top box to indicate the set top box to resend the control command after waiting for the delay time until finally responding to the control command, so that the channel switching of the set top box can be successful. The method determines different delay times for different set top boxes according to the port numbers, can avoid conflict among a plurality of set top boxes, and can efficiently and completely solve the conflict problem caused by the simultaneous sending of the control commands by at least two set top boxes.
EXAMPLE III
Fig. 4 is a block diagram of a conflict resolution apparatus according to a third embodiment of the present invention, where the apparatus is capable of executing a conflict resolution method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 4, the apparatus may specifically include:
a port number obtaining module 410, configured to obtain port numbers of at least two set top boxes if a collision event generated when the at least two set top boxes send control instructions at the same time is detected to exist;
a delay time determining module 420, configured to determine delay times of at least two set top boxes according to port numbers of the at least two set top boxes, respectively;
the instruction sending module 430 is configured to send a delayed sending instruction including delay time to at least two set top boxes, where the delayed sending instruction is used to instruct to resend the control instruction after waiting for the delay time;
and a command response module 440, configured to respond to the control command retransmitted by the at least two set-top boxes.
According to the conflict resolution device provided by the embodiment of the invention, when the Unicable equipment detects that the conflict is generated because at least two set top boxes simultaneously send the control command, the delay time of each set top box is determined according to the port number corresponding to each set top box in the conflict, and the delay time is sent to the corresponding set top box to indicate the set top box to resend the control command after waiting for the delay time until the control command is finally responded, so that the channel switching of the set top box is successful. The method determines different delay times for different set top boxes according to the port numbers, can avoid conflict among a plurality of set top boxes, and can efficiently and completely solve the conflict problem caused by the simultaneous sending of the control commands by at least two set top boxes.
Illustratively, the apparatus may further include:
the frequency point characteristic acquisition module is used for respectively acquiring current frequency point characteristic information from the program association tables of the at least two set top boxes if control commands sent by the at least two set top boxes are received;
the frequency point characteristic comparison module is used for comparing the acquired frequency point characteristic information with the frequency point characteristic information stored in the program database;
and the conflict event generating module is used for generating a conflict event if the acquired frequency point characteristic information is inconsistent with the frequency point characteristic information stored in the program database.
Optionally, the command response module 440 may be specifically configured to: respectively carrying out conflict judgment on the control commands retransmitted by the at least two set top boxes and the control commands transmitted by other set top boxes except the at least two set top boxes; and responding to the control instruction if the conflict event does not exist.
Optionally, the frequency point characteristic comparison module is specifically configured to: if the transport stream information in the frequency point characteristic information is the same as the transport stream information stored in the program database, and the program information in the frequency point characteristic information is the same as the program information stored in the program database, determining that the transport stream information is consistent; otherwise, the verification is inconsistent.
Illustratively, the delay time determination module 420 may be specifically configured to: and respectively determining the delay time of the at least two set top boxes according to the port numbers of the at least two set top boxes and a first time length, wherein the first time length is greater than the time required for sending the control command.
Example four
Fig. 5 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 5 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in fig. 5, the device 12 is in the form of a general purpose computing device. The components of the device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the device, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, such as implementing conflict resolution methods provided by embodiments of the present invention, by executing programs stored in the system memory 28.
EXAMPLE five
Fifth, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement any of the conflict resolution methods in the foregoing embodiments.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The above example numbers are for description only and do not represent the merits of the examples.
It will be understood by those skilled in the art that the modules or steps of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented by program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, or it may be separately fabricated into various integrated circuit modules, or it may be fabricated by fabricating a plurality of modules or steps thereof into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A conflict resolution method, comprising:
if a conflict event generated by sending control instructions by at least two set top boxes simultaneously is detected, acquiring port numbers of the at least two set top boxes;
respectively determining the delay time of the at least two set top boxes according to the port numbers of the at least two set top boxes and a first time length, wherein the first time length is greater than the time required for sending the control command;
the determining the delay times of the at least two set top boxes respectively according to the port numbers of the at least two set top boxes and the first time length includes:
performing product operation on the port numbers of the at least two set top boxes and the first time length to respectively determine the delay time of the at least two set top boxes;
sending a delay sending instruction containing the delay time to the at least two set top boxes, wherein the delay sending instruction is used for indicating to resend the control instruction after waiting for the delay time;
responding to the control instruction retransmitted by the at least two set top boxes.
2. The method of claim 1, wherein the generating of the collision event comprises:
if control commands sent by the at least two set top boxes are received, respectively acquiring current frequency point characteristic information from the program association tables of the at least two set top boxes;
comparing the acquired frequency point characteristic information with frequency point characteristic information stored in a program database;
and if not, generating the conflict event.
3. The method of claim 1, wherein responding to control commands retransmitted by the at least two set-top boxes comprises:
respectively carrying out conflict judgment on the control commands retransmitted by the at least two set top boxes and the control commands transmitted by other set top boxes except the at least two set top boxes;
and if no conflict event exists, responding to the control instruction.
4. The method of claim 2, wherein comparing the obtained frequency point characteristic information with frequency point characteristic information stored in a program database comprises:
if the transport stream information in the frequency point characteristic information is the same as the transport stream information stored in the program database, and the program information in the frequency point characteristic information is the same as the program information stored in the program database, determining that the transport stream information is consistent; otherwise, the verification is inconsistent.
5. A conflict resolution apparatus, comprising:
the port number acquisition module is used for acquiring the port numbers of at least two set top boxes if a collision event generated by the simultaneous transmission of the control commands by the at least two set top boxes is detected;
a delay time determining module, configured to determine delay times of the at least two set top boxes respectively according to port numbers of the at least two set top boxes and a first time length, where the first time length is greater than a time required for sending the control instruction;
the determining the delay times of the at least two set top boxes respectively according to the port numbers of the at least two set top boxes and the first time length includes:
performing product operation on the port numbers of the at least two set top boxes and the first time length to respectively determine the delay time of the at least two set top boxes;
the instruction sending module is used for sending a delay sending instruction containing the delay time to the at least two set top boxes, wherein the delay sending instruction is used for indicating that the control instruction is sent again after waiting for the delay time;
and the command response module is used for responding the control command retransmitted by the at least two set top boxes.
6. The apparatus of claim 5, further comprising:
the frequency point characteristic acquisition module is used for respectively acquiring current frequency point characteristic information from the program association tables of the at least two set top boxes if control commands sent by the at least two set top boxes are received;
the frequency point characteristic comparison module is used for comparing the acquired frequency point characteristic information with the frequency point characteristic information stored in the program database;
and the conflict event generating module is used for generating the conflict event if the acquired frequency point characteristic information is inconsistent with the frequency point characteristic information stored in the program database.
7. The apparatus of claim 5, wherein the command response module is specifically configured to:
respectively carrying out conflict judgment on the control commands retransmitted by the at least two set top boxes and the control commands transmitted by other set top boxes except the at least two set top boxes;
and if no conflict event exists, responding to the control instruction.
8. A set-top box device, the device comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the conflict resolution method of any of claims 1-4.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the conflict resolution method according to any one of claims 1-4.
CN201810174751.3A 2018-03-02 2018-03-02 Conflict resolution method, device, equipment and storage medium Active CN108401168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810174751.3A CN108401168B (en) 2018-03-02 2018-03-02 Conflict resolution method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810174751.3A CN108401168B (en) 2018-03-02 2018-03-02 Conflict resolution method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108401168A CN108401168A (en) 2018-08-14
CN108401168B true CN108401168B (en) 2021-04-06

Family

ID=63092039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810174751.3A Active CN108401168B (en) 2018-03-02 2018-03-02 Conflict resolution method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108401168B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110273550B (en) * 2019-05-22 2020-10-27 中联重科股份有限公司 Pairing automatic control method and control device for pumping equipment
JP7415345B2 (en) * 2019-07-03 2024-01-17 オムロン株式会社 Control system, support equipment and configuration program
CN111818632B (en) 2020-09-02 2022-08-30 上海擎朗智能科技有限公司 Method, device, equipment and storage medium for equipment synchronization
CN114928816B (en) * 2022-04-24 2023-06-23 深圳数马电子技术有限公司 Device connection method, system, terminal device, detection apparatus, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0030965D0 (en) * 2000-12-19 2001-01-31 Nokia Oy Ab Improvements relating to satellite reception`
US8863277B2 (en) * 2004-04-07 2014-10-14 Fortinet, Inc. Systems and methods for passing network traffic content
CN105827396B (en) * 2016-05-28 2019-01-18 浙江中星光电子科技有限公司 A kind of car antenna and set top box communication encryption method
CN107666622A (en) * 2017-09-28 2018-02-06 深圳市创维软件有限公司 Method, set top box and the storage medium of updating set-top box software

Also Published As

Publication number Publication date
CN108401168A (en) 2018-08-14

Similar Documents

Publication Publication Date Title
CN108401168B (en) Conflict resolution method, device, equipment and storage medium
US10448082B2 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
CN105308673B (en) For managing the method for the output in HDMI sources, system and medium
CN109710905B (en) Document collaborative editing method and device, storage medium and electronic equipment
US10028006B2 (en) Transponder loss and join-in-progress channel monitoring
CN110489440B (en) Data query method and device
CN110830823B (en) Play progress correction method and device, electronic equipment and readable storage medium
CN108683528B (en) Data transmission method, central server, server and data transmission system
CN110087141A (en) Method of transmitting video data, device, client and server
US20170208637A1 (en) Method and Apparatus for Interconnecting Smart Terminal and In-Vehicle Terminal
CN110768803B (en) Television wall display method and device and server
CN112188277A (en) Screen projection control method and device, electronic equipment and computer program medium
CN112866809A (en) Video processing method and device, electronic equipment and readable storage medium
CN109413455B (en) User information display method and device for voice microphone interaction
CN111327910A (en) Operation control method, device and equipment of application program and storage medium
CN109889922A (en) Retransmission method, device, equipment and the storage medium of stream medium data
CN112464075B (en) Application recommendation method and device of intelligent sound box and electronic equipment
US9721617B2 (en) Adaptive media content recording
CN113676761B (en) Multimedia resource playing method and device and main control equipment
US20140032744A1 (en) Method of comparing outputs in a plurality of information systems
CN111626802A (en) Method and apparatus for processing information
CN111262727B (en) Service capacity expansion method, device, equipment and storage medium
CN104281675A (en) Method and equipment for acquiring media files
US20140295396A1 (en) Device and method for learning support
US20180316739A1 (en) Method and device for realizing compatibility of secondary video

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