CN115580788B - Intercom method and system for configuring intercom equipment based on production line - Google Patents
Intercom method and system for configuring intercom equipment based on production line Download PDFInfo
- Publication number
- CN115580788B CN115580788B CN202211178464.2A CN202211178464A CN115580788B CN 115580788 B CN115580788 B CN 115580788B CN 202211178464 A CN202211178464 A CN 202211178464A CN 115580788 B CN115580788 B CN 115580788B
- Authority
- CN
- China
- Prior art keywords
- intercom
- equipment
- busy
- production line
- data queue
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000004519 manufacturing process Methods 0.000 title claims description 178
- 230000006854 communication Effects 0.000 claims abstract description 39
- 238000001514 detection method Methods 0.000 claims description 8
- 239000003999 initiator Substances 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 239000002699 waste material Substances 0.000 description 3
- 230000002950 deficient Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q5/00—Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange
- H04Q5/24—Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange for two-party-line systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/03—Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/23—Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Interconnected Communication Systems, Intercoms, And Interphones (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides an intercom method based on line configuration intercom equipment, which is characterized in that by receiving a service request of a first intercom equipment configured on a current line, calling a second intercom equipment on a target line, judging whether the second intercom equipment is in a busy state, if the second intercom equipment is in the busy state on the target line, the first intercom equipment receives prompt information that the second intercom equipment is in the busy state, and if the second intercom equipment is in an idle state, the first intercom equipment and the second intercom equipment establish communication, so that the time for establishing communication is saved, and the communication efficiency is improved.
Description
Technical Field
The invention relates to the technical field of production scheduling, in particular to an intercom method and an intercom system based on production line configuration intercom equipment.
Background
Nowadays, more and more factories realize mechanical automation, the required manpower is greatly reduced, the workers of different production lines are often not in the same space or are very far apart, and in the process of mechanical production, links needing human intervention, such as detection personnel of an upstream production line find defective products, and workers on a downstream production line need to be informed to process and adjust the defective products, so that a mode is needed to communicate between the 2 production lines. At present, the communication mode is mainly interphone or handheld loudspeaker.
However, in the actual communication process, the frequency band of the interphone may be occupied, and when a worker works on the production line, the worker often selects the earplug, and the running noise of the machine may ignore the conversation transmitted by the interphone, if the handheld loudspeaker is selected for communication, on the one hand, the communication range of the loudspeaker is small, and on the other hand, the place needs to be continuously selected for repeated communication, on the other hand, in the working environment of the production line, the noise is high, the sound of the machine work can be completely covered up, and the communication efficiency is reduced.
Disclosure of Invention
The invention provides an intercom method and an intercom system for line configuration intercom equipment, which reduce the time for establishing conversation between production lines and improve the communication efficiency between the production lines.
In order to achieve the above object, the present invention provides an intercom method based on a production line configuration intercom device, which specifically includes:
receiving a service request of a first intercom device configured on a current production line; wherein the service request comprises a group number of a second intercom device on the call target production line;
calling a second intercom device on the target production line according to the group number; the second intercom equipment is a plurality of intercom equipment on the target production line;
If the group number does not exist or the second intercom devices are all in a busy state, the server sends prompt information of call failure to the first intercom device;
if the grouping number exists and the intercom in the non-busy state exists on the target production line, the server establishes a call between the first intercom and the intercom in the non-busy state.
The invention provides an intercom method based on intercom equipment of line configuration, which can carry out communication between different spaces in a long distance by sending a service request through intercom equipment of line configuration, shortens the time required before conversation is established between the lines, and realizes accurate communication according to the intercom equipment of the code call target line in the service request, thereby avoiding wasting time, then judging whether the group number exists and whether the intercom equipment of the target line is in a busy state, if the group number does not exist or the intercom equipment of the target line is in a busy state, prompting conversation failure, avoiding continuous dialing, wasting time, if the equipment is in an idle state, calling all intercom equipment of the target line in an idle state, then receiving the service request by all the idle intercom equipment of the call target line, establishing conversation, improving the success rate of conversation establishment, reducing the time required in establishment and improving the communication efficiency between the lines through the intercom method.
As a preferred example, the second intercom device on the target production line called according to the group number specifically includes:
judging whether the group number exists or not by inquiring a table in a database group according to the group number, detecting whether an intercom busy data queue exists currently or not, and if the group number exists, calling intercom equipment on the target production line by a server according to the group number;
if the grouping number does not exist, the server sends prompt information of call failure to the first intercom equipment; the table in the database grouping records a plurality of preset grouping numbers, each preset coding number corresponds to one grouping, and each grouping comprises a plurality of intercom devices on the same production line.
According to the invention, the intercom devices on different production lines are grouped, so that the intercom devices can be conveniently communicated, the inquiry time is saved by directly inquiring according to the grouped numbers, meanwhile, the server directly inquires whether the corresponding intercom devices exist according to the grouped numbers, if yes, a call is made, if not, prompt information of call failure is replied, continuous communication is avoided, communication time is saved, and communication efficiency is improved.
As a preferred example, the detecting whether the intercom busy data queue exists at present specifically includes:
the server judges whether the intercom busy data queue needs to be established by detecting whether the intercom busy data queue exists or not;
if the intercom busy data queue does not exist currently, the server adds the equipment number of the first intercom to the intercom busy data queue by creating a new intercom busy data queue;
and if the intercom busy data queue exists, the server adds the equipment number of the first intercom to the intercom busy data queue.
According to the invention, by detecting whether the busy equipment data queue exists, so that the state data of the intercom equipment on the target production line can be obtained in time, the time for establishing a call is saved, if the busy equipment data queue exists, the equipment number of the first intercom equipment is added to the busy data queue of the intercom equipment, and if the busy equipment data queue does not exist, one intercom equipment busy data queue is established, and then the busy data queue of the intercom equipment is established so as to uniformly manage the intercom equipment in the busy state, so that the intercom equipment on other production lines can obtain the state of the intercom equipment requesting the object in time when the intercom equipment in the busy state sends a session request, and the time is saved, thereby improving the communication efficiency.
As a preferred example, the intercom device in the non-busy state exists on the determination target production line, specifically including:
the server judges whether the intercom equipment in an unclosed state exists on the target production line or not by detecting the number of intercom equipment on the target production line in the intercom equipment busy data queue and comparing the number with the number of actual intercom equipment on the target production line;
if the number of intercom devices on the target production line in the intercom device busy data queue is smaller than the number of actual intercom devices on the target production line, intercom devices in an unoccupied state exist on the target production line;
if the number of intercom devices on the target production line in the intercom device busy data queue is equal to the number of actual intercom devices on the target production line, no intercom devices in an unoccupied state exist on the target production line.
According to the invention, whether the intercom devices on the target production line are all in a busy state is directly judged by comparing the number of intercom devices belonging to the target production line in the intercom device busy data queue with the number of actual intercom devices on the target production line, and the time is saved by a simple judging method.
As a preferred example, after the determining whether the intercom device in the not busy state exists on the target production line, the method further includes:
if the intercom equipment in the non-busy state exists on the target production line, the server sends a service request and the equipment number of the first intercom equipment to the intercom equipment in the non-busy state, and the intercom equipment in the non-busy state carries out call prompt according to the service request;
if the intercom equipment which is not in the busy state does not exist on the target production line, the server sends a prompt message of call failure to the first intercom equipment and moves the equipment number of the first intercom equipment out of the intercom equipment busy data queue.
And the server stores the equipment number of the intercom equipment in the non-busy state by establishing a new temporary data queue according to the call prompt, and adds the equipment number of the intercom equipment in the non-busy state into the intercom equipment busy data queue.
The invention firstly judges whether the intercom devices on the target production line are all in a busy state, if so, the intercom devices reply to prompt busy, so that the continuous calling of the first intercom device is avoided, time is wasted, if the intercom devices are in an idle state, all the device numbers of the intercom devices in the idle state are added into the busy data queue of the intercom devices, on one hand, the success rate of establishment is improved, on the other hand, the continuous calling of other production lines to the target production line is avoided, time is wasted, and the communication efficiency is improved.
As a preferred example, the communication between the first intercom device and the second intercom device is established, which specifically includes:
and the server sends a hang-up instruction to other non-answering intercom devices in the non-busy state according to a message prompt generated when any intercom device in the non-busy state answers, and removes the device number of the non-answering intercom device in the non-busy state from the intercom device busy data queue.
According to the invention, the equipment numbers of the intercom equipment which is already answered are identified, and the equipment numbers of other intercom equipment which is not yet answered are moved out of the busy data queue of the intercom equipment, so that other production lines can call in time, time waste is avoided, and communication efficiency is improved.
As a preferred example, after the call between the first intercom device and the intercom device in the non-busy state is ended, the method further includes:
the server destroys a temporary data queue of the intercom equipment in an unoccupied state through a message prompt generated when the intercom equipment of any party finishes the conversation;
according to the message prompt, the server removes the equipment number of the first intercom equipment and the equipment number of the intercom equipment with answering from an intercom busy data queue;
The message prompt comprises the equipment numbers of the first intercom equipment and the intercom equipment for answering.
According to the invention, the equipment numbers of the intercom equipment at the two ends of the established session are found through the information launched by the equipment at the end of the session, and then the intercom equipment numbers are moved out of the temporary data queue and moved out of the intercom equipment busy data queue, so that the intercom equipment on other production lines can conveniently initiate session invitation, and the communication efficiency is improved.
On the other hand, the invention provides an intercom system based on intercom equipment of the production line configuration, which comprises a request module, a calling module, a busy module and a conversation module;
the request module is used for receiving a service request of a first intercom device configured on the current production line; wherein the service request comprises a group number of a second intercom device on the call target production line;
the calling module is used for calling a second intercom device on the target production line according to the grouping number; the second intercom equipment is a plurality of intercom equipment on the target production line;
the busy module is used for sending prompt information of call failure to the first intercom device by the server if the grouping number does not exist or the second intercom device is in a busy state;
The communication module is used for establishing communication between the first intercom device and the intercom device in the non-busy state for the server if the grouping number exists and the intercom device in the non-busy state exists on the target production line.
The invention provides an intercom system based on intercom equipment of a production line configuration, which can carry out communication between different spaces in a long distance by sending a service request through intercom equipment of the production line configuration according to a request module, shortens the time required before conversation is established between the production lines, realizes accurate communication by calling intercom equipment of a target production line according to codes in the service request through a calling module, avoids wasting time, judges whether a grouping number exists or not and whether intercom equipment of the target production line is in a busy state or not through a busy module, prompts conversation failure if the grouping number does not exist or the intercom equipment of the target production line is in the busy state, avoids continuous dialing and wasting time, and then sends a call to all intercom equipment of the target production line in the idle state if the intercom module judges that the equipment is in the idle state.
As a preferred example, the call module includes a query unit and a detection unit;
the inquiry unit is used for judging whether the group number exists or not by inquiring a table in a database group according to the group number, detecting whether an intercom busy data queue exists currently, and if the group number exists, calling intercom equipment on the target production line by the server according to the group number; if the grouping number does not exist, the server sends prompt information of call failure to the first intercom equipment; the method comprises the steps that a table in a database grouping records a plurality of preset grouping numbers, each preset coding number corresponds to one grouping, and each grouping comprises a plurality of intercom devices on the same production line;
the detection unit is used for judging whether the intercom busy data queue needs to be established or not by detecting whether the intercom busy data queue exists or not by the server; if the intercom busy data queue does not exist currently, the server adds the equipment number of the first intercom to the intercom busy data queue by creating a new intercom busy data queue; and if the intercom busy data queue exists, the server adds the equipment number of the first intercom to the intercom busy data queue.
When a query unit sends a service request, firstly judging whether a group number exists or not and detecting whether a busy equipment data queue exists or not, wherein the group number is detected to avoid input errors, waste time and reduce time before communication is established between different production lines, the detection unit judges whether the busy data queue of the intercom equipment exists or not, if the busy data queue of the intercom equipment exists, the equipment number of the first intercom equipment is added to the busy data queue of the intercom equipment, if the busy data queue of the intercom equipment does not exist, a creating unit establishes the busy data queue of the intercom equipment, and then the busy data queue of the intercom equipment is added to avoid the intercom equipment on other production lines from sending session requests to the first intercom equipment, so that time waste is avoided, and communication efficiency is improved.
As a preferable example, the call module includes a determination unit, a call unit, and a call unit;
the determining unit is used for determining whether the intercom equipment in an unoccupied state exists on the target production line or not by detecting the number of intercom equipment on the target production line in the intercom equipment busy data queue and comparing the number with the number of actual intercom equipment on the target production line; if the number of intercom devices on the target production line in the intercom device busy data queue is smaller than the number of actual intercom devices on the target production line, intercom devices in an unoccupied state exist on the target production line; if the number of intercom devices on the target production line in the intercom device busy data queue is equal to the number of actual intercom devices on the target production line, no intercom devices in an unoccupied state exist on the target production line;
The calling unit is used for sending a service request and a device number of a first intercom device to the intercom device in an unclamped state if the intercom device in the unclamped state exists on the target production line, and the intercom device in the unclamped state carries out calling prompt according to the service request; if the intercom equipment which is not in the busy state does not exist on the target production line, the server sends a prompt message of communication failure to the first intercom equipment and moves the equipment number of the first intercom equipment out of the intercom equipment busy data queue; the server stores the equipment number of the intercom equipment in the non-busy state by establishing a new temporary data queue according to the call prompt, and adds the equipment number of the intercom equipment in the non-busy state into the intercom equipment busy data queue;
the call unit is used for sending a hang-up instruction to other non-answering intercom devices according to a message prompt generated when any intercom device in the non-busy intercom devices answers, and moving the device number of the non-busy intercom device out of the intercom device busy data queue.
According to the invention, whether the intercom devices on the target production line are all in a busy state is judged by the determining unit, if the intercom devices are in an idle state, the device numbers of all intercom devices in the idle state are added into the intercom device busy data queue, on one hand, the success rate of establishment is improved, on the other hand, continuous calling of other production lines to the target production line is avoided, time is wasted, communication efficiency is improved, call prompt is carried out according to the condition that the calling unit is in the idle state, communication success rate is improved, meanwhile, a temporary data queue is established according to the call, communication is convenient, and if the intercom device is in the idle state, the rest intercom devices which are not carried out are moved out of the temporary data queue and the intercom device busy data queue, so that the other intercom devices are communicated, occupation of the intercom devices is avoided, and communication efficiency is improved.
Drawings
Fig. 1: the flow diagram of the intercom method based on the production line configuration intercom equipment is provided for the embodiment of the invention;
fig. 2: the structure schematic diagram of the intercom system based on the intercom equipment configured by the production line is provided for the embodiment of the invention;
Fig. 3: the invention provides a flow diagram of an intercom method based on line configuration intercom equipment, which is provided by another embodiment of the invention;
fig. 4: the invention provides a structure schematic diagram of an intercom device.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, a flow chart of an intercom method based on line configuration intercom equipment according to an embodiment of the present invention mainly includes steps 101 to 104, specifically includes:
step 101: and receiving a service request of the first intercom equipment configured on the current production line.
In this embodiment, the steps specifically include: and receiving a service request of the first intercom equipment, wherein the service request comprises a grouping number of a second intercom equipment on the calling target production line.
Step 102: and calling a second intercom device on the target production line according to the grouping number.
In this embodiment, the steps specifically include: judging whether the group number exists or not by inquiring a table in a database group according to the group number, detecting whether an intercom busy data queue exists currently or not, and if the group number exists, calling intercom equipment on the target production line by a server according to the group number; the table in the database grouping records a plurality of preset grouping numbers, each preset coding number corresponds to one grouping, and each grouping comprises a plurality of intercom devices on the same production line. Meanwhile, in the present embodiment, a maximum allowed busy device number is configured for each group, and the information of each group is stored in a table in the database group.
Step 103: and if the group number does not exist or the second intercom equipment is in a busy state, the server sends prompt information of call failure to the first intercom equipment.
In this embodiment, the steps specifically include: if the grouping number does not exist, the server sends prompt information of call failure to the first intercom equipment; the server judges whether the intercom busy data queue needs to be established by detecting whether the intercom busy data queue exists or not; if the intercom busy data queue does not exist currently, the server adds the equipment number of the first intercom to the intercom busy data queue by creating a new intercom busy data queue; and if the intercom busy data queue exists, the server adds the equipment number of the first intercom to the intercom busy data queue.
Step 104: if the grouping number exists and the intercom in the non-busy state exists on the target production line, the server establishes a call between the first intercom and the intercom in the non-busy state.
In this embodiment, the steps specifically include: if the intercom equipment in the non-busy state exists on the target production line, the server sends a service request and the equipment number of the first intercom equipment to the intercom equipment in the non-busy state, and the intercom equipment in the non-busy state carries out call prompt according to the service request; and the server stores the equipment number of the intercom equipment in the non-busy state by establishing a new temporary data queue according to the call prompt, and adds the equipment number of the intercom equipment in the non-busy state into the intercom equipment busy data queue.
Meanwhile, in this embodiment, if there is no intercom in the not busy state on the target production line, the server sends a prompt message of a call failure to the first intercom and moves the device number of the first intercom out of the intercom busy data queue.
In this embodiment, determining whether there is an intercom device in an unoccupied state on the target production line specifically includes: the server judges whether the intercom equipment in an unclosed state exists on the target production line or not by detecting the number of intercom equipment on the target production line in the intercom equipment busy data queue and comparing the number with the number of actual intercom equipment on the target production line; if the number of intercom devices on the target production line in the intercom device busy data queue is smaller than the number of actual intercom devices on the target production line, intercom devices in an unoccupied state exist on the target production line; if the number of intercom devices on the target production line in the intercom device busy data queue is equal to the number of actual intercom devices on the target production line, no intercom devices in an unoccupied state exist on the target production line.
In this embodiment, after the conversation between the first intercom device and the intercom device in the non-busy state is finished, the server destroys a temporary data queue in which the intercom device in the non-busy state is located through a message prompt generated when the conversation of any party intercom device is finished; according to the message prompt, the server removes the equipment number of the first intercom equipment and the equipment number of the intercom equipment with answering from an intercom busy data queue; the message prompt comprises the equipment numbers of the first intercom equipment and the intercom equipment for answering.
Referring to fig. 2, an intercom system based on line configuration intercom according to an embodiment of the present invention includes a request module 201, a call module 202, a busy module 203 and a talk module 204.
The request module 201 is configured to receive a service request of a first intercom device configured on a current production line; wherein the service request includes a group number of a second intercom set on the call target production line.
The calling module 202 is configured to call a second intercom device on the target production line according to the group number; the second intercom equipment is a plurality of intercom equipment on the target production line.
The busy module 203 is configured to send, to the first intercom device, a prompt message of a call failure if the group number does not exist or the second intercom device is in a busy state;
the call module 204 is configured to establish a call between the first intercom and the intercom in the non-busy state if the group number exists and the intercom in the non-busy state exists on the target production line.
In this embodiment, the call module 202 includes a query unit and a detection unit;
The inquiry unit is used for judging whether the group number exists or not by inquiring a table in a database group according to the group number, detecting whether an intercom busy data queue exists currently, and if the group number exists, calling intercom equipment on the target production line by the server according to the group number; if the grouping number does not exist, the server sends prompt information of call failure to the first intercom equipment; the method comprises the steps that a table in a database grouping records a plurality of preset grouping numbers, each preset coding number corresponds to one grouping, and each grouping comprises a plurality of intercom devices on the same production line;
the detection module is used for judging whether the intercom busy data queue needs to be established or not by detecting whether the intercom busy data queue exists or not by the server; if the intercom busy data queue does not exist currently, the server adds the equipment number of the first intercom to the intercom busy data queue by creating a new intercom busy data queue; and if the intercom busy data queue exists, the server adds the equipment number of the first intercom to the intercom busy data queue.
In this embodiment, the call module 204 includes a determining unit, a calling unit, and a call unit;
the determining unit is used for determining whether the intercom equipment in an unoccupied state exists on the target production line or not by detecting the number of intercom equipment on the target production line in the intercom equipment busy data queue and comparing the number with the number of actual intercom equipment on the target production line; if the number of intercom devices on the target production line in the intercom device busy data queue is smaller than the number of actual intercom devices on the target production line, intercom devices in an unoccupied state exist on the target production line; if the number of intercom devices on the target production line in the intercom device busy data queue is equal to the number of actual intercom devices on the target production line, no intercom devices in an unoccupied state exist on the target production line;
the calling unit is used for sending a service request and a device number of a first intercom device to the intercom device in an unclamped state if the intercom device in the unclamped state exists on the target production line, and the intercom device in the unclamped state carries out calling prompt according to the service request; if the intercom equipment which is not in the busy state does not exist on the target production line, the server sends a prompt message of communication failure to the first intercom equipment and moves the equipment number of the first intercom equipment out of the intercom equipment busy data queue; the server stores the equipment number of the intercom equipment in the non-busy state by establishing a new temporary data queue according to the call prompt, and adds the equipment number of the intercom equipment in the non-busy state into the intercom equipment busy data queue;
The call unit is used for sending a hang-up instruction to other non-answering intercom devices according to a message prompt generated when any intercom device in the non-busy intercom devices answers, and moving the device number of the non-busy intercom device out of the intercom device busy data queue.
Example two
Referring to fig. 3, a flow chart of an intercom method based on line configuration intercom equipment according to another embodiment of the present invention mainly includes steps 301 to 305, and mainly includes:
step 301: the intercom device registers and edits.
In this embodiment, the steps specifically include: in this embodiment, before a talk-around device configured by a production line is used for talking, the talk-around device and a server communicate with each other through a sip protocol. After the server is linked to the network, the information about its own ip address is published back through mdns protocol. Each intercom has its own unique SN number which is written into the hardware storage of the terminal and cannot be changed by conventional means. After the terminal is connected to the network, the server is searched in the local area network through mdns protocol, and then the information of the terminal is reported to the server through udp protocol, including information such as SN, IP, MAC, etc. The server unregistered list can receive information about the device, at this time, a sip registration number and a name may be assigned to the terminal, and the terminal may be added to the server registered list, where the sip password server randomly generates and issues the sip password to the terminal database. To this end, the device registration is partially completed. The server can learn whether the device is online or not by checking the sip heartbeat mechanism of the server.
The server may edit the configuration, add any number of devices specified to a group (here, default devices of a production line to a group), assign a number to the group, and write the relevant information to the table associated with the database group after the configuration is completed. A group maximum allowed busy state number limit is then configured.
Step 302: calling the intercom equipment on the target production line according to the intercom equipment on the current production line.
In this embodiment, the steps specifically include: according to the group number contained in the service request sent by the intercom equipment on the current production line, the intercom equipment on the call target production line, namely the intercom equipment on the current production line, initiates a service request to the server through a sip protocol, and the group number of the call target is carried in the request. After receiving the request, the server queries the database to group the related table, and detects whether the number exists, and simultaneously detects whether the equipment busy data queue exists, if the queue exists, the equipment of the initiator is directly added into the queue, if the queue does not exist, an equipment busy data queue is created, then the equipment of the initiator is added into the queue, and detects whether the current task data queue exists, and if the queue does not exist, a task data queue is created. If the number cannot be Found, the server sends a 404 (Not Found) message to the initiator and ends the session, moving the device number out of the device busy queue. If the target partition number is queried, further traversing the device number in the current group, and comparing the busy queue device numbers, so as to know how many devices in the group are in a busy state.
Step 303: and judging whether the intercom equipment on the target production line is in a busy state or not.
In this embodiment, the steps specifically include: judging whether the intercom devices on the target production line are all in a busy state, namely finding the busy number of the devices of the target production line in the corresponding intercom device busy data queue according to the group number, if the busy number is smaller than the maximum allowable busy state number, the server sends a service request to other idle devices in the group, and informs the user who receives the request from the request terminal, the terminal receives the request at the moment, an audible and visual alarm prompt is generated, the dialing is the service request dialed in that place, a new temporary data queue is created, the queue name is named according to the number of the initiator, the temporary queue is saved in the task data queue, all idle device numbers in the group are added into the temporary data queue, and then all data of the queue are added into the busy data queue.
Step 304: and answering the intercom equipment on the target production line, and establishing communication with the intercom equipment on the current production line.
In this embodiment, the steps specifically include: any device in the temporary data queue listens, at this time, the device sends a 200 (OK) message to the server, after receiving the 200 message, the server sends a Cancel hang-up request to other devices that have not received the corresponding device temporarily, and moves the devices out of the device busy queue and temporary data queue named with the number of the initiator device. There are now a number of data queues: the device busy queue is internally provided with an initiator device number and a device number to be answered, the task data queue is an address of a temporary data queue named by the initiator device number currently stored, and the temporary data queue named by the initiator device number only has the device number to be answered, so that a plurality of temporary data queues can exist. The server can detect and compare the task data queue and the equipment busy queue at the moment, and know the current equipment busy state and the session number, so that the management is convenient.
Step 305: the intercom equipment on the current production line and the target production line end communication.
In this embodiment, the steps specifically include: when a session (any one of the initiator and the receiver) is hung up on the production line, the terminal will send a Bye message by the server, because the Bye message sent by the end of the session carries the numbers of the initiator and the receiver at the 2 end, the server searches the initiator number according to the message at this time, then finds a temporary data queue named by the number of the initiator device in the task data queue according to the number of the initiator, removes the temporary queue from the task data queue and destroys the queue, and simultaneously removes the numbers of the initiator and the receiver from the busy queue of the device, and sends a Bye message to the other end device of the session to end the session.
Fig. 4 is a schematic structural diagram of a intercom device according to an embodiment of the present invention.
In this embodiment, the intercom device includes 1, a face cover, which is opened when working and closed when working is completed, so as to prevent the device from being damaged; 2. a handle earpiece; 3. a handle microphone; 4. the "#" sign key: separating call coding function keys; 5. calling a key; 6. an intercom key; 7. an emergency help seeking key, when the key is pressed, one-key quick calling or help seeking can be carried out; 8. ringing, when incoming call, ringing prompt; 9. a work indicator light; 10. "×" number key: the main function is that in the input coding state, pressing the function key returns to cancel; 11. a number key.
In the embodiment, the intercom equipment is used for realizing the communication between production lines, and is convenient to install and deploy. The equipment and the server are communicated through network data, and the equipment can be directly deployed and used only by meeting the conditions of the field network environment. Meanwhile, the intercom equipment has strong anti-interference capability. Unlike conventional radio or analog audio line devices, analog data is greatly subject to environmental interference in propagation, requiring additional expense in masking in order to avoid interference. In the transmission process of the terminal audio data, analog audio is collected first and then quantized into digital audio for transmission, so long as the network is normal, the audio data cannot be affected by transmission media and transmission distances. Meanwhile, the intercom equipment can flexibly configure intercom between production lines, the software architecture adopted in the embodiment is in a B/S mode, operation on hardware is not needed, operation such as equipment link serial ports is not needed to be removed, only one piece of equipment capable of opening a browser is needed, the background of a server can be accessed through a network, the maximum allowed equipment quantity which is busy at the same time is flexibly configured, and the allocation and change requirements of production personnel are met. Meanwhile, the intercom equipment provided by the embodiment has rich expansion functions, and the intercom equipment itself has short circuit output and short circuit input and can be used for docking a third party platform such as a fire-fighting platform. There are also external speaker outputs, which are commonly used in relatively noisy environments. Because it is based on network transmission, it can also interface with other devices via the internet.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, and are not to be construed as limiting the scope of the invention. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present invention are intended to be included in the scope of the present invention.
Claims (9)
1. An intercom method for configuring intercom equipment based on a production line is characterized by comprising the following steps:
receiving a service request of a first intercom device configured on a current production line; wherein the service request comprises a group number of a second intercom device on the call target production line;
calling a second intercom device on the target production line according to the grouping number, judging whether the grouping number exists or not and detecting whether an intercom device busy number sequence exists or not by inquiring a table in a database grouping according to the grouping number; the second intercom equipment is a plurality of intercom equipment on the target production line; the table in the database grouping records a plurality of preset grouping numbers, each preset coding number corresponds to one grouping, and each grouping comprises a plurality of intercom devices on the same production line;
If the group number exists, the server calls intercom equipment on the target production line according to the group number;
if the intercom busy data queue exists, adding the equipment number of the first intercom to the intercom busy data queue, traversing the first equipment number in the group corresponding to the group number, and comparing the second equipment number in the intercom busy data queue, so as to judge whether second intercom in an unoccupied state exists in the group corresponding to the group number;
if the group number does not exist or the second intercom devices are all in a busy state, the server sends prompt information of call failure to the first intercom device;
if the group number exists and the talkback equipment in the non-busy state exists on the target production line, the second talkback equipment receives a service request sent by the server and the equipment number of the first talkback equipment and sends a call prompt to the server, so that the server establishes a temporary data queue according to the call prompt to save the equipment number of the second talkback equipment in the non-busy state, and saves the equipment number of the second talkback equipment into the busy data queue;
The server sends the service request to the second intercom device so that the first intercom device establishes a call with the intercom device in the non-busy state, meanwhile, the second intercom device receives the service request sent by the server and sends a call prompt to the server so that the server establishes a temporary data queue according to the call prompt to save the device number of the second intercom device in the non-busy state, saves the device number of the second intercom device in the intercom device busy data queue, and sends a hang-up request to other devices in the temporary data queue and removes the other devices from the temporary data queue and the intercom device busy data queue when the server receives answer information sent by any one second intercom device contained in the temporary data queue.
2. The intercom method for configuring intercom equipment based on production line as in claim 1 wherein said detecting whether intercom equipment busy data queue exists currently comprises:
the server judges whether the intercom busy data queue needs to be established by detecting whether the intercom busy data queue exists or not;
If the intercom busy data queue does not exist currently, the server adds the equipment number of the first intercom to the intercom busy data queue by creating a new intercom busy data queue;
and if the intercom busy data queue exists, the server adds the equipment number of the first intercom to the intercom busy data queue.
3. The intercom method of claim 2, wherein the determining whether the intercom device in the non-busy state exists on the target production line comprises:
the server judges whether the intercom equipment in an unclosed state exists on the target production line or not by detecting the number of intercom equipment on the target production line in the intercom equipment busy data queue and comparing the number with the number of actual intercom equipment on the target production line;
if the number of intercom devices on the target production line in the intercom device busy data queue is smaller than the number of actual intercom devices on the target production line, intercom devices in an unoccupied state exist on the target production line;
If the number of intercom devices on the target production line in the intercom device busy data queue is equal to the number of actual intercom devices on the target production line, no intercom devices in an unoccupied state exist on the target production line.
4. The intercom method of claim 3, wherein after determining whether the intercom device in an unoccupied state exists on the target production line, further comprising:
if the intercom equipment in the non-busy state exists on the target production line, the server sends a service request and the equipment number of the first intercom equipment to the intercom equipment in the non-busy state, and the intercom equipment in the non-busy state carries out call prompt according to the service request;
if the intercom equipment which is not in the busy state does not exist on the target production line, the server sends a prompt message of communication failure to the first intercom equipment and moves the equipment number of the first intercom equipment out of the intercom equipment busy data queue;
and the server stores the equipment number of the intercom equipment in the non-busy state by establishing a new temporary data queue according to the call prompt, and adds the equipment number of the intercom equipment in the non-busy state into the intercom equipment busy data queue.
5. The intercom method for configuring intercom equipment based on a production line as in claim 1 wherein said first intercom equipment establishes communication with said second intercom equipment, specifically comprising:
and the server sends a hang-up instruction to other non-answering intercom devices in the non-busy state according to a message prompt generated when any intercom device in the non-busy state answers, and removes the device number of the non-answering intercom device in the non-busy state from the intercom device busy data queue.
6. The talkback method of the talkback device based on the production line configuration of claim 1, further comprising, after the first talkback device ends the talking with the talkback device in the not busy state:
the server destroys a temporary data queue of the intercom equipment in an unoccupied state through a message prompt generated when the intercom equipment of any party finishes the conversation;
according to the message prompt, the server removes the equipment number of the first intercom equipment and the equipment number of the intercom equipment with answering from an intercom busy data queue;
The message prompt comprises the equipment numbers of the first intercom equipment and the intercom equipment for answering.
7. An intercom system for configuring intercom equipment based on a production line is characterized by comprising a request module, a calling module, a busy module and a conversation module;
the request module is used for receiving a service request of a first intercom device configured on the current production line; wherein the service request comprises a group number of a second intercom device on the call target production line;
the calling module is used for calling a second intercom device on the target production line according to the grouping number, judging whether the grouping number exists or not and detecting whether the intercom device is busy in a sequence by inquiring a table in a database grouping according to the grouping number; the second intercom equipment is a plurality of intercom equipment on the target production line; the table in the database grouping records a plurality of preset grouping numbers, each preset coding number corresponds to one grouping, and each grouping comprises a plurality of intercom devices on the same production line; if the group number exists, the server calls intercom equipment on the target production line according to the group number; if the intercom busy data queue exists, adding the equipment number of the first intercom to the intercom busy data queue, traversing the first equipment number in the group corresponding to the group number, and comparing the second equipment number in the intercom busy data queue, so as to judge whether second intercom in an unoccupied state exists in the group corresponding to the group number;
The busy module is used for sending prompt information of call failure to the first intercom device by the server if the grouping number does not exist or the second intercom device is in a busy state;
the call module is used for receiving a service request sent by the server and the equipment number of the first intercom equipment and sending a call prompt to the server if the grouping number exists and the intercom equipment in the non-busy state exists on the target production line, so that the server establishes a temporary data queue according to the call prompt to save the equipment number of the second intercom equipment in the non-busy state, saves the equipment number of the second intercom equipment in the busy data queue, and simultaneously sends the service request to the second intercom equipment, so that the first intercom equipment establishes a call with the intercom equipment in the non-busy state, and simultaneously receives the service request sent by the server and sends the call prompt to the server, so that the server establishes the temporary data queue according to the call prompt to save the equipment number of the second intercom equipment in the non-busy state and saves the equipment number of the second intercom equipment in the busy state to the data queue.
8. The intercom system of claim 7, wherein said calling module comprises a query unit and a detection unit;
the inquiry unit is used for judging whether the group number exists or not by inquiring a table in a database group according to the group number, detecting whether an intercom busy data queue exists currently, and if the group number exists, calling intercom equipment on the target production line by the server according to the group number; if the grouping number does not exist, the server sends prompt information of call failure to the first intercom equipment; the method comprises the steps that a table in a database grouping records a plurality of preset grouping numbers, each preset coding number corresponds to one grouping, and each grouping comprises a plurality of intercom devices on the same production line;
the detection unit is used for judging whether the intercom busy data queue needs to be established or not by detecting whether the intercom busy data queue exists or not by the server; if the intercom busy data queue does not exist currently, the server adds the equipment number of the first intercom to the intercom busy data queue by creating a new intercom busy data queue; and if the intercom busy data queue exists, the server adds the equipment number of the first intercom to the intercom busy data queue.
9. The intercom system of claim 7 wherein said intercom module comprises a determining unit, a calling unit and a intercom unit;
the determining unit is used for determining whether the intercom equipment in an unoccupied state exists on the target production line or not by detecting the number of intercom equipment on the target production line in the intercom equipment busy data queue and comparing the number with the number of actual intercom equipment on the target production line; if the number of intercom devices on the target production line in the intercom device busy data queue is smaller than the number of actual intercom devices on the target production line, intercom devices in an unoccupied state exist on the target production line; if the number of intercom devices on the target production line in the intercom device busy data queue is equal to the number of actual intercom devices on the target production line, no intercom devices in an unoccupied state exist on the target production line;
the calling unit is used for sending a service request and a device number of a first intercom device to the intercom device in an unclamped state if the intercom device in the unclamped state exists on the target production line, and the intercom device in the unclamped state carries out calling prompt according to the service request; if the intercom equipment which is not in the busy state does not exist on the target production line, the server sends a prompt message of communication failure to the first intercom equipment and moves the equipment number of the first intercom equipment out of the intercom equipment busy data queue; the server stores the equipment number of the intercom equipment in the non-busy state by establishing a new temporary data queue according to the call prompt, and adds the equipment number of the intercom equipment in the non-busy state into the intercom equipment busy data queue;
The call unit is used for sending a hang-up instruction to other non-answering intercom devices according to a message prompt generated when any intercom device in the non-busy intercom devices answers, and moving the device number of the non-busy intercom device out of the intercom device busy data queue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211178464.2A CN115580788B (en) | 2022-09-26 | 2022-09-26 | Intercom method and system for configuring intercom equipment based on production line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211178464.2A CN115580788B (en) | 2022-09-26 | 2022-09-26 | Intercom method and system for configuring intercom equipment based on production line |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115580788A CN115580788A (en) | 2023-01-06 |
CN115580788B true CN115580788B (en) | 2023-09-08 |
Family
ID=84583792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211178464.2A Active CN115580788B (en) | 2022-09-26 | 2022-09-26 | Intercom method and system for configuring intercom equipment based on production line |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115580788B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116915935B (en) * | 2023-09-07 | 2024-05-07 | 比亚迪股份有限公司 | Intercommunication processing method, intercommunication processing system, server and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859647A (en) * | 2006-01-24 | 2006-11-08 | 华为技术有限公司 | Method and system for realizing dynamic grouping and cancelling grouping of mobile terminal |
CN201374816Y (en) * | 2009-01-19 | 2009-12-30 | 杭州绿宇通信技术有限公司 | Coal-mine underground communication cell-phone with one-key talkback function |
CN103888621A (en) * | 2012-12-21 | 2014-06-25 | 联想(北京)有限公司 | Calling method, device and system |
CN104734861A (en) * | 2013-12-23 | 2015-06-24 | 成都鼎桥通信技术有限公司 | Communication method between different standard cluster groups |
CN105447938A (en) * | 2015-12-03 | 2016-03-30 | 广州合立正通信息科技有限公司 | Door control visual intercom service system and control method thereof |
CN106912030A (en) * | 2015-12-22 | 2017-06-30 | 大唐移动通信设备有限公司 | A kind of group calling method and device |
CN110191378A (en) * | 2019-06-17 | 2019-08-30 | 深圳市慧智慧科技有限公司 | A kind of intercommunication means of communication, device, system, storage medium and intercom |
CN111132037A (en) * | 2019-12-02 | 2020-05-08 | 南京云巅电子科技有限公司 | Industrial field communication system and method based on UWB technology |
CN114039803A (en) * | 2021-11-04 | 2022-02-11 | 深圳市万睿智能科技有限公司 | Group talkback message management method and device, computer equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060045043A1 (en) * | 2004-08-31 | 2006-03-02 | Crocker Ronald T | Method and apparatus for facilitating PTT session initiation and service interaction using an IP-based protocol |
-
2022
- 2022-09-26 CN CN202211178464.2A patent/CN115580788B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859647A (en) * | 2006-01-24 | 2006-11-08 | 华为技术有限公司 | Method and system for realizing dynamic grouping and cancelling grouping of mobile terminal |
CN201374816Y (en) * | 2009-01-19 | 2009-12-30 | 杭州绿宇通信技术有限公司 | Coal-mine underground communication cell-phone with one-key talkback function |
CN103888621A (en) * | 2012-12-21 | 2014-06-25 | 联想(北京)有限公司 | Calling method, device and system |
CN104734861A (en) * | 2013-12-23 | 2015-06-24 | 成都鼎桥通信技术有限公司 | Communication method between different standard cluster groups |
CN105447938A (en) * | 2015-12-03 | 2016-03-30 | 广州合立正通信息科技有限公司 | Door control visual intercom service system and control method thereof |
CN106912030A (en) * | 2015-12-22 | 2017-06-30 | 大唐移动通信设备有限公司 | A kind of group calling method and device |
CN110191378A (en) * | 2019-06-17 | 2019-08-30 | 深圳市慧智慧科技有限公司 | A kind of intercommunication means of communication, device, system, storage medium and intercom |
CN111132037A (en) * | 2019-12-02 | 2020-05-08 | 南京云巅电子科技有限公司 | Industrial field communication system and method based on UWB technology |
CN114039803A (en) * | 2021-11-04 | 2022-02-11 | 深圳市万睿智能科技有限公司 | Group talkback message management method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115580788A (en) | 2023-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7957518B2 (en) | Communication handoff between telephone devices | |
CN101213822A (en) | Redirecting and mirroring of telephonic communications | |
CN101057512A (en) | Method and apparatus for proving push-to-talk services to non-push-to-talk enabled networks | |
CN1933459B (en) | Telephone redialing method and system | |
US20090129297A1 (en) | Communication system | |
WO2009084528A1 (en) | Server device and message transmission method | |
CN101159901A (en) | Method of initiating session, note application service proxy, session server and system | |
JP2001189757A (en) | Method and device for suppressing packet during silence time in packet telephone system | |
CN115580788B (en) | Intercom method and system for configuring intercom equipment based on production line | |
CN1608369B (en) | Priority indication for voice over internet protocol calls | |
EP1626562B1 (en) | IP telephone system, IP telephone apparatus and method for performing telephone conference | |
KR20010104222A (en) | pervasive voice handset system | |
CN101444070A (en) | Telecommunications system and method of initiating file transfers from voice endpoints | |
CN112995427A (en) | Fixed line network access system | |
CN102724371B (en) | Voice gateway and method for establishing call through same | |
CN101848283A (en) | Method, device, system and terminal for call rejecting and forwarding | |
CN1249964C (en) | Method for realizing no answer transferring business by calling based on internet speech gate | |
CN1878218B (en) | Method for changing mobile device ring mode by intercepting signal and its application device | |
CN100407739C (en) | Method for implementing No-disturbing service based on VOIP gateway | |
KR20000072754A (en) | Method and system for transmitting communication signals through the internet and a public switched telephone network | |
CN102017590A (en) | Method and communication device for establishing an alternative communication transmission | |
JPH1042047A (en) | Method and equipment exchange control | |
CN103841093A (en) | Terminal device and network protocol voice communication method | |
JP2001309042A (en) | Communication system | |
CN1486049A (en) | Method for implementing call pickup service based on VOIP gateway |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000 Applicant after: Guangdong Baolun Electronics Co.,Ltd. Address before: No.19 Chuangyuan Road, Zhongcun street, Panyu District, Guangzhou, Guangdong 510000 Applicant before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |