A method for implementing voice advertising of access control card reader supporting operation

By adding voice advertising operation function and playback weight allocation algorithm to the access card swiper, the high power consumption and maintenance rate problems of streaming media advertising equipment in the existing technology are solved, and the volume environment adaptability and economical advertising playback are realized, which meets the operation business needs.

CN113920629BActive Publication Date: 2024-12-31SHANGHAI NEIGHBORHOOD NEIGHBORHOOD INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111340262.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2024-12-31
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

The existing community access control system's streaming media advertising equipment has low IP level, high power consumption, high maintenance rate, large hardware equipment investment and long capital recovery cycle, which is difficult to meet the needs of operators.

Method used

Add voice advertising operation function on the basis of ordinary access control card swiper, by adding hardware circuits of communication modules, MCU control unit, A/D conversion module, power amplifier unit and speaker playback unit, and designing a voice entry reception and playback software system, combining voice voice Advertising volume environment adaptability and different advertising playback weight allocation algorithms in operation to achieve the goal of paying more and playing more during the period.

Benefits of technology

It improves the voice advertising operation capabilities of the access card swiper, adapts to different volume environments, realizes flexible adjustment of advertising playback weights, reduces operating costs, and enhances the economic and maintainability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113920629B_ABST
    Figure CN113920629B_ABST
Patent Text Reader

Abstract

A method for implementing voice advertising of an access control card reader that supports operation includes a hardware part, a software part, and an algorithm part. The hardware is used to implement the reception of voice data, AD output, analog signal amplification, and voice external speaker; the software is used to implement the reception of voice data in the communication protocol, and voice data processing; and the algorithm is used to implement time-divided volume control and the generation of a voice play list. The present invention adds a voice advertising operation function on the basis of an ordinary access control card reader, and the voice advertising not only takes into account the adaptability of the volume environment, but also takes into account the weight distribution problem of different operation advertisement playback during operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent security technology, and in particular to a method for implementing voice advertising of an access control card reader supporting operations. Background Art

[0002] At present, community access control systems are mainly divided into owner-built type and operator-built type. The owner-built type is usually the access control system built and handed over by the developer when it is delivered, and the later owner-built type. Regardless of which type of self-built type, its characteristic is that the system only covers the community, and is often a stand-alone system. The demand for operation is not strong, and it can open the community gate normally. The typical characteristics of the operator-built type are: 1. The owner does not need to pay; 2. The system can achieve the security level of community entry and exit from a technical level; 3. It has the ability to operate, so as to realize the later capital recovery of the initial capital investment, and even bring profits to the operating company. At present, the operation point of the operator-built type is mainly advertising, that is, relying on advertising to recover the initial investment and later maintenance costs. The forms of advertising mainly include: 1. Print advertising; 2. Streaming media advertising, which is usually video and voice multimedia advertising with display screens.

[0003] However, the development and operation of the existing community access control system, in which streaming media advertising usually uses video and voice multimedia advertising with display screens, has the following disadvantages: 1. Low IP level; 2. High power consumption; 3. High maintenance rate; 4. Too much investment in hardware equipment and too long capital recovery period. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention provides a method for implementing voice advertising of an access control card reader that supports operation, which overcomes the shortcomings of the prior art. On the basis of an ordinary access control card reader, a voice advertising operation function is added, and the voice advertising takes into account both the adaptability of the volume environment and the weight allocation of different operation advertisements during operation; and the goal of paying more and playing more in the time period is achieved according to the time period selected when the advertisement is placed. In addition, the opportunity for manual participation in adjustment is retained, and the playback volume of specific advertisements can be adjusted through manual participation parameters.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0006] A method for implementing voice advertising of a door access card reader supporting operation includes the following steps:

[0007] Step S1: Add a set of voice receiving, processing and playing hardware circuits including a communication module, an MCU control unit, an A / D conversion module, a power amplifier unit and a speaker playback unit on the basis of an ordinary access control card reader;

[0008] Step S2: Based on the hardware circuit in step S1, a voice item receiving and playing software system is added, which specifically includes a communication system between the card reader and the background communication, a receiving storage system of the MCU, and a playing control system of the MCU;

[0009] Step S3: An algorithm is allocated based on the adaptability of the voice advertisement volume to the environment and the weights of different voice advertisement playbacks during operation.

[0010] Preferably, the step S1 specifically comprises the following steps:

[0011] Step S11: Design a hardware block diagram, based on the circuit diagram of a common access control card reader, add a set of voice receiving, processing, and playing hardware circuits including a communication module, an MCU control unit, an A / D conversion, a power amplifier unit, and a speaker playback unit;

[0012] Step S12: Select appropriate electronic components to design a schematic diagram according to the circuit design in step S11;

[0013] Step S13: According to the schematic diagram designed in step S12, further determine the package of each component, and then design the PCB board;

[0014] Step S14: soldering the selected electronic components on the PCB board manufactured in step S13, and performing hardware circuit debugging.

[0015] Preferably, in step S1, the communication port of the MCU control unit is connected to a communication module, and the MCU control unit is connected to a power amplifier unit through an A / D conversion module; the signal output end of the power amplifier unit is connected to a speaker signal, and the MCU control unit is connected to a circuit module of a access control card reader through a bus circuit.

[0016] Preferably, the implementation of the communication system between the card reader and the background communication in step S2 specifically includes the following steps:

[0017] Step S21: Design the communication protocol between the card reader and the backend;

[0018] Step S22: According to the data packet structure, communication framework, and command word in the communication protocol, the establishment of the communication channel, the transmission of the voice data, and the transmission of the parameter table are completed. This program includes the communication program in the card reader and the background communication program;

[0019] Step S23: perform joint debugging of the communication module, and debug the sending of voice entry related parameters to the card reader through the background.

[0020] Preferably, the voice advertisement playing weight allocation algorithm in step S3 includes the following steps:

[0021] Step 31: Define voice advertisement entries as X1, X2…X n ; The appointment time is T1, T2…T n ; The time-sharing volume parameters are A1, A2…A n ; Advertising fee: M1, M2…M n ; The parameters for manual participation are Q1, Q2…Q n ;

[0022] Step 32: Algorithm design, count all the advertisement items that need to be played according to the reservation period, assuming that all the advertisement items to be played are X1, X2…X n Some entries x1, x2…x in m It needs to be played during a specific reservation period; the corresponding advertising fee for the relevant voice item that needs to be played is m1, m2…m m ;

[0023] In a specific reservation period, according to the principle of more input and more playback, the voice items x1, x2…x that need to be played in this period m The corresponding playback weights are arrays w1, w2…w m , the weight w is calculated by the following formula: where j = 1, 2…m, m i The amount of money invested in the target playback voice entry;

[0024] Assume that the artificial participation parameters Q1, Q2…Q n The relevant voice manual participation parameters for a specific appointment period are q1, q2…q m , then according to the formula w' i =w i ×q i To adjust the weights w1, w2…w of the voice items played during this period m , the adjusted weights are w'1, w'2…w' m , where i=1,2…m;

[0025] The adjusted playback weights are normalized, and the normalized result is w″1,w″2…w″ m , the standardized formula is Where j = 1, 2…m;

[0026] Generate a playlist during the scheduled playback period. Assume that the length of a cycle list played in a loop during the scheduled period is l, and assume that the playlist is x1, x2…x l , then the playlist random number generator and the standardized play weight in the table jointly determine, each time using the random function rand() according to x1, x2…x m Generate a corresponding playback random number array r1, r2...r in sequence m, using the formula r' i =w″ i × i Use the standardized weight to correct the size of the random number and get the corrected random array r'1, r'2…r' m , and then according to the maximum value max(r'1,r'2…r' m ) to determine the specific playback item of the m voice advertisement in the time period; and finally generate the play list in the playback period as x1, x2…x l ;

[0027] Then, the final all-day playlist is assembled according to the time-sharing volume parameters of different scheduled play periods. Assuming that the all-day time-sharing volume parameters are A1, A2…A n The volume parameter of the reservation period is a i , then the playlist of the last cycle of the reservation period is a two-dimensional array:

[0028] {(a i ,x1),(a i ,x2)…(a i ,x l )}

[0029] Finally, according to the number of time periods n throughout the day, combined with the time-sharing volume parameters, the playlist generation algorithm for each time period is used to generate the playlist for the whole day. The list is as follows:

[0030]

[0031] n is the number of time periods throughout the day, and l is the length of the playlist in the current time period;

[0032] Step 33: Based on the defined voice advertising items, reservation time periods, time-sharing volume, advertising fees, and manual participation parameters sent by the background to the access control card reader, write a program in the MCU to automatically generate a full-day playlist to achieve adaptability to the volume and environment, and achieve the goal of paying more and playing more within the time period selected when the advertisement is placed.

[0033] The present invention provides a method for implementing voice advertising of an access control card reader that supports operation. It has the following beneficial effects: based on the common access control card reader, a voice advertising operation function is added, and the voice advertising not only takes into account the adaptability of the volume environment, but also takes into account the weight allocation of different operation advertisements during operation; and according to the time period selected when the advertisement is placed, the goal of paying more and playing more in the time period is achieved. In addition, the opportunity for manual participation in adjustment is retained, and the playback volume of specific advertisements can be adjusted through manual participation parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the present invention or the technical solutions in the prior art, the drawings required for describing the prior art are briefly introduced below.

[0035] Figure 1 The hardware block diagram of the access control card reader supporting voice advertising operation in the present invention;

[0036] Figure 2 A block diagram of the input and output relationship of the voice advertisement playing algorithm in the present invention; DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention.

[0038] As an access control card reader, the usual MCU unit, various access control card reading units, clock circuits, whitelist storage units, card swiping record storage units, and door opening drive control units are all indispensable. These units only need to be simply inherited and are not the focus of the present invention. The present invention mainly introduces the software, hardware, and algorithms related to voice advertising from the reception to the playback control of advertising voices. The technologies involved include: 1. Hardware electronic circuit design technologies such as MCU and its peripheral circuit design, communication module circuit design, A / D unit design, voice amplifier circuit design, and speaker filter circuit design; 2. Communication protocol formulation and software programming implementation, which are technologies in the fields of communication and computer software; 3. The playlist generation algorithm designed according to the needs of voice advertising services involves both the field of media advertising and the field of computing methods. Therefore, the research on access control card readers that support voice advertising operations is an interdisciplinary and multi-field research work.

[0039] like Figure 1 As shown, a method for implementing voice advertising of a door access card reader supporting operation includes the following steps:

[0040] Step S1: Add a set of voice receiving, processing and playing hardware circuits including a communication module, an MCU control unit, an A / D conversion module, a power amplifier unit and a speaker playback unit on the basis of an ordinary access control card reader;

[0041] Step S2: Based on the hardware circuit in step S1, a voice item receiving and playing software system is added, which specifically includes a communication system between the card reader and the background communication, a receiving storage system of the MCU, and a playing control system of the MCU;

[0042] In the present invention, the communication system between the card reader and the background is realized by controlling the communication module hardware through the MCU according to a specific communication protocol; the receiving and storing software of the MCU is relatively simple and will not be described in detail here; the playback control software of the MCU mainly realizes the adaptability of the volume of voice advertisements to the environment, and the implementation of the weight allocation algorithm for the playback of different operation advertisements during operation, and finally plays the voice advertisements through the playlist generated by the algorithm;

[0043] Step S3: An algorithm is allocated based on the adaptability of the voice advertisement volume to the environment and the weights of different voice advertisement playbacks during operation.

[0044] Specifically, the step S1 specifically protects the following steps:

[0045] Step S11: Design a hardware block diagram, based on the circuit diagram of a common access control card reader, add a set of voice receiving, processing, and playing hardware circuits including a communication module, an MCU control unit, an A / D conversion, a power amplifier unit, and a speaker playback unit;

[0046] Step S12: Select appropriate electronic components to design a schematic diagram according to the circuit design in step S11;

[0047] Step S13: According to the schematic diagram designed in step S12, further determine the package of each component, and then design the PCB board;

[0048] Step S14: soldering the selected electronic components on the PCB board manufactured in step S13, and performing hardware circuit debugging.

[0049] Among them, in the step S1, the communication port of the MCU control unit is connected to the communication module, and the MCU control unit is connected to the power amplifier unit through the A / D conversion module; the signal output end of the power amplifier unit is connected to the speaker signal, and the MCU control unit is connected to the circuit module of the access control card reader through the bus circuit.

[0050] Specifically, the implementation of the communication system between the card reader and the background communication in step S2 specifically includes the following steps:

[0051] Step S21: Design the communication protocol between the card reader and the backend;

[0052] ①Define the data packet structure as follows:

[0053]

[0054] Random number: It can also be considered as a packet number, which is used to correspond to the sent and received data, and can also be used for encryption.

[0055] Checksum: CRC16 is recommended, and sum check can also be used.

[0056] Packet length: [(N-3)-6].

[0057] ②Define the communication framework:

[0058] Background authentication request command: 0x80 downlink (initiate communication request to the access control card reader with a specific ID);

[0059] Card reader authentication response command: 0x00 uplink (access control card reader with a specific ID responds to the background);

[0060] Backstage result feedback command: 0x80 downlink (response confirmation to the access control card reader with a specific ID, and establishment of a communication channel);

[0061] ③Define communication command words

[0062] Background voice request command: 0x91 downlink

[0063] Voice receiving status response command: 0x11 uplink

[0064] Background voice parameter table send request command: 0x92 downlink

[0065] Voice parameter table receiving status response command: 0x12 uplink

[0066] Step S22: According to the data packet structure, communication framework, and command word in the communication protocol, the establishment of the communication channel, the transmission of the voice data, and the transmission of the parameter table are completed. This program includes the communication program in the card reader and the background communication program;

[0067] Step S23: perform joint debugging of the communication module, and debug the sending of voice entry related parameters to the card reader through the background.

[0068] Specifically, the voice advertisement playing weight allocation algorithm in step S3 includes the following steps:

[0069] Step 31: Define voice advertisement entries as X1, X2…X n ; The appointment time is T1, T2…T n ; The time-sharing volume parameters are A1, A2…A n ; Advertising fee: M1, M2…M n ; The parameters for manual participation are Q1, Q2…Q n ;

[0070] For the manual participation parameters Q1, Q2…Qn, where 0<Qn≤10, the default value is 1, and no manual participation is made when the default value is used; when it is less than 1, the weight is lowered to reduce the playback probability; when it is greater than 1, the weight is increased to increase the playback probability, and the weight is increased by a maximum of 10 times.

[0071] Step 32: Algorithm design, count all the advertisement items that need to be played according to the reservation period, assuming that all the advertisement items to be played are X1, X2…X n Some entries x1, x2…x in m It needs to be played during a specific reservation period; the corresponding advertising fee for the relevant voice item that needs to be played is m1, m2…m m ;

[0072] In a specific reservation period, according to the principle of more input and more playback, the voice items x1, x2…x that need to be played in this period m The corresponding playback weights are arrays w1, w2…w m , the weight w is calculated by the following formula: where j = 1, 2…m, m i The amount of money invested in the target playback voice entry;

[0073] Assume that the artificial participation parameters Q1, Q2…Q n The relevant voice manual participation parameters for a specific appointment period are q1, q2…q m , then according to the formula w' i =w i ×q i To adjust the weights w1, w2…w of the voice items played during this period m , the adjusted weights are w'1, w'2…w' m , where i=1,2…m;

[0074] The adjusted playback weights are normalized, and the normalized result is w″1,w″2…w″ m , the standardized formula is Where j = 1, 2…m;

[0075] Generate a playlist during the scheduled playback period. Assume that the length of a cycle list played in a loop during the scheduled period is l, and assume that the playlist is x1, x2…x l , then the playlist random number generator and the standardized play weight in the table jointly determine, each time using the random function rand() according to x1, x2…x m Generate a corresponding playback random number array r1, r2...r in sequence m , using the formula r' i =w″ i × i Use the standardized weight to correct the size of the random number and get the corrected random array r'1, r'2...r' m , and then according to the maximum value max(r'1,r'2…r' m) to determine the specific play item of the m voice advertisement in the time period; and finally generate the play list in the play period as x1, x2…x l ;

[0076] Then, the final all-day playlist is assembled according to the time-sharing volume parameters of different scheduled play periods. Assuming that the all-day time-sharing volume parameters are A1, A2…A n The volume parameter of the reservation period is a i , then the playlist of the last cycle of the reservation period is a two-dimensional array:

[0077] {(a i ,x1),(a i ,x2)…(a i ,x l )}

[0078] Finally, according to the number of time periods n throughout the day, combined with the time-sharing volume parameters, the playlist generation algorithm for each time period is used to generate the playlist for the whole day. The list is as follows:

[0079]

[0080] n is the number of time periods throughout the day, and l is the length of the playlist in the current time period;

[0081] Step 33: According to the definition of voice advertisement items, reservation time period, time-sharing volume, advertisement fee, and manual participation parameters sent by the background to the access control card reader, write a program in the MCU to automatically produce a full-day playlist to achieve the adaptability of volume and environment, and achieve the goal of paying more and playing more in the time period according to the time period selected when the advertisement is released. In addition, the operator retains the opportunity for manual participation and adjustment. The operator can adjust the playback volume of specific advertisements through manual participation parameters. The environmental adaptability of the volume achieves different volumes at different times of the day and night, or even multiple time periods, such as: the volume of the morning, noon, afternoon, and midnight of the night is different, so that the purpose of playing voice advertisements is achieved without disturbing the public, and it can be better accepted by community owners or property, which is convenient for operation and promotion.

[0082] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for implementing voice advertising of a door access card reader that supports operation, characterized in that: The following steps are involved: Step S1: Add a set of voice receiving, processing and playing hardware circuits including a communication module, an MCU control unit, an A / D conversion module, a power amplifier unit and a speaker playing unit on the basis of an ordinary access control card reader; Step S2: Based on the hardware circuit in step S1, a voice item receiving and playing software system is added, which specifically includes a communication system between the card reader and the background communication, a receiving storage system of the MCU, and a playing control system of the MCU; Step S3: Generate a full-day playlist based on the adaptability of the voice advertisement volume to the environment and the weight allocation algorithm for different voice advertisement playbacks during operation; Wherein, the step S3 comprises the following steps: Step 31: Define voice advertisement entries as X1, X2…X n ; The appointment time is T1, T2…T n ; The time-sharing volume parameters are A1, A2…A n ; Advertising fee: M1, M2…M n ; The parameters for manual participation are Q1, Q2…Q n ; Step 32: Algorithm design, count all the advertisement items that need to be played according to the reservation period, assuming that all the advertisement items to be played are X1, X2…X n Some entries x1, x2…x in m It needs to be played during a specific reservation period; the corresponding advertising fee for the relevant voice item that needs to be played is m1, m2…m m ; In a specific reservation period, according to the principle of more input and more playback, the voice items x1, x2…x that need to be played in this period m The corresponding playback weights are arrays w1, w2…w m , the weight w is calculated by the following formula: where j = 1, 2…m, m i The amount of money invested in the target playback voice entry; Assume that the artificial participation parameters Q1, Q2…Q n The relevant voice manual participation parameters for a specific appointment period are q1, q2…q m , then according to the formula w' i =w i ×q i To adjust the weights w1, w2…w of the voice items played during this period m , the adjusted weights are w'1, w'2…w' m , where i=1,2…m; The adjusted playback weights are standardized, and the standardized results are w”1, w”2…w” m , the standardized formula is Where j = 1, 2…m; Generate a playlist during the scheduled playback period. Assume that the length of a cycle list played in a loop during the scheduled period is l, and assume that the playlist is x1, x2…x l , then the playlist random number generator and the standardized play weight in the table jointly determine, each time using the random function rand() according to x1, x2…x m Generate a corresponding playback random number array r1, r2...r in sequence m , using the formula r' i =w" i × i Use the standardized weight to correct the size of the random number and get the corrected random array r'1, r'2…r' m , and then according to the maximum value max(r'1,r'2…r' m ) to determine the specific playback item of the m voice advertisement in the time period; and finally generate the play list in the playback time period as x1, x2…x l ; Then, the final all-day playlist is assembled according to the time-sharing volume parameters of different scheduled play periods. Assuming that the all-day time-sharing volume parameters are A1, A2…A n The volume parameter of the reservation period in is a i , then the playlist of the last cycle of the reservation period is a two-dimensional array: {(a i ,x1),(a i ,x2)…(a i ,x l )} Finally, according to the number of time periods n throughout the day, combined with the time-sharing volume parameters, the playlist generation algorithm for each time period is used to generate a playlist for the whole day. The list is as follows: n is the number of time periods throughout the day, and l is the length of the playlist in the current time period; Step 33: Based on the defined voice advertising items, reservation time periods, time-sharing volume, advertising fees, and manual participation parameters sent by the background to the access control card reader, write a program in the MCU to automatically generate a full-day playlist to achieve adaptability to the volume and environment, and achieve the goal of paying more and playing more within the time period selected when the advertisement is placed.

2. According to the method for implementing voice advertising of a door access card reader supporting operation according to claim 1, it is characterized in that: The step S1 specifically protects the following steps: Step S11: Design a hardware block diagram, based on the circuit diagram of a common access control card reader, add a set of voice receiving, processing, and playing hardware circuits including a communication module, an MCU control unit, an A / D conversion, a power amplifier unit, and a speaker playback unit; Step S12: Select appropriate electronic components to design a schematic diagram according to the circuit design in step S11; Step S13: According to the schematic diagram designed in step S12, further determine the package of each component, and then design the PCB board; Step S14: soldering the selected electronic components on the PCB board manufactured in step S13, and performing hardware circuit debugging.

3. According to the method for implementing voice advertising of a door access control card reader supporting operation in claim 1, it is characterized by: In step S1, the communication port of the MCU control unit is connected to a communication module, and the MCU control unit is connected to the power amplifier unit through an A / D conversion module; the signal output end of the power amplifier unit is connected to the speaker signal, and the MCU control unit is connected to the circuit module of the access control card reader through a bus circuit.

4. A method for implementing voice advertising of a door access card reader supporting operation according to claim 1, characterized in that: The implementation of the communication system between the card reader and the background communication in step S2 specifically includes the following steps: Step S21: Design the communication protocol between the card reader and the backend; Step S22: According to the data packet structure, communication framework, and command word in the communication protocol, the establishment of the communication channel, the transmission of the voice data, and the transmission of the parameter table are completed. This program includes the communication program in the card reader and the background communication program; Step S23: perform joint debugging of the communication module, and debug the sending of voice entry related parameters to the card reader through the background.