- Home >> Technical Service >> Software
Research on the principle of WeChat official account
1. Introduction to WeChat Official Account
WeChat software is developed by Shenzhen Tencent Network Enterprise. It is a communication program that can use Internet communication technology for instant communication. Registered customers can use mobile phones and tablet computers to conveniently send audio, video, documents, graphics and other information to relatives and friends who want to contact. WeChat social software also has a series of services such as an interactive communication platform, friend dynamics, and news promotion. WeChat customers can also use methods such as searching for nearby WeChat users, binding contacts in the address book, finding WeChat users within a certain range, and scanning special codes. Increase the number of netizens or subscribe to interested public accounts, and WeChat social software can also push the interesting news and video information you see to your relatives and friends, or send these content to your own dynamics, so that all friends can You can see it when you browse your friend's news. As of today, more than 800 million users have registered to use WeChat social software in my country. Using the official account function of WeChat social software, companies and enterprises can establish WeChat social software subscription accounts related to their own company or enterprise content, and promote the company's project to establish a good social image.
WeChat social software also has a series of services such as an interactive communication platform, friend dynamics, and news promotion. WeChat customers can also use methods such as searching for nearby WeChat users, binding contacts in the address book, finding WeChat users within a certain range, and scanning special codes. Increase the number of netizens or subscribe to interested public accounts, and WeChat social software can also push the interesting news and video information you see to your relatives and friends, or send these content to your own dynamics, so that all friends can You can see it when you browse your friend's news.
The WeChat social software account is the user account created by the software operator or the company official on the WeChat social software subscription account management platform. This account is bound to Tencent QQ chat software. Using the public subscription account, the company and the enterprise will Able to use text, images, messages, video and other information in the WeChat social circle to communicate with potential users in a certain circle to a greater extent, resulting in a more fashionable and popular online store and offline entity Store interconnected sales model. Use a smart phone or tablet computer to download WeChat social software in the app store and install and run it. Find the official account query option in the friends list, and you can view the related list of official accounts subscribed by your account, and you can also add and delete this list, etc. manage.
1. Introduction to WeChat Subscription Account
It brings news and private users an unprecedented way to deliver messages, and builds a more convenient communication and interaction bridge between readers and the official account platform, which facilitates the author's supervision of his own works. Officially confirmed public account, the information is displayed in the classification column of the public account, and the same message can be sent to everyone, and the top is once a day, the most basic chat information viewing and chat information sending port, chat window layout and List of other functions.
2. WeChat public platform communication mechanism
The information port of the WeChat social platform brings an unprecedented information management mode to related users and consumers, so it has a certain ability to communicate with customers in terms of information. For WeChat public accounts that can successfully connect to the information port, if the customer uploads the information to the public account, the service provider of the WeChat social software management platform will use the relevant agreement to apply for the recommended service of news and consultation on the connected Internet address, while the outside world The server can respond to these actions and respond to relevant information. The frame composition can be said to be very unique, which completes the action of replying to the chat records.
(1) Authentication information: any WeChat social software account has the right to request a private custom function list on the subscription account management platform, click the check mark in the box in front of the developer option in the WeChat social software settings, and register at the same time URL and TOKEN protocols, in these two protocols, Token does not have any hard requirements, and can be registered at will to generate an electronic signature for a private subscription number. When WeChat social users upload relevant information, WeChat social software service ingtai will issue a GET application, and at the same time upload the relevant data to the URL and complete the relevant information. Subscribe to the server port and agree to the GET application. According to the TOKEN data filled in and recorded by oneself, the qualitative inspection of the application data is carried out to determine whether the get application is sent by the official server of the WeChat social management platform, and at the same time feedback the inspection results. The WeChat social software server will send back the feedback information according to the If the verification is correct, it can connect and start working, if it fails, it cannot be connected smoothly.
(2) Push messages: Generally speaking, when a normal WeChat social software user sends a chat application to a subscription account, the WeChat social software management platform will first translate the chat content into data composed of special codes, and then the broken throat will translate The obtained data is uploaded to the management server of the subscription account provided by the official. Generally speaking, document data, photo data, GPS positioning data, image data and Internet address data can be sent.
(3) Message reply: For each POST request, the public account server returns a specific xml structure in the response packet to respond to the message (supports reply text, graphics, voice, video, music and the received message Star mark operation), the WeChat server will disconnect the connection if it receives a response within five seconds.
2. Functional structure design of WeChat official account
The structural design of the message parsing function is mainly based on the definition of the system function menu, the menu input rule base and the processing method of the preset function of the menu kite. The main principle is: when a WeChat user sends a message, the system classifies the message type and obtains the corresponding message content for processing. When processing text messages, split and match through menu input rules, and then perform follow-up processing according to preset functions.
Summarize
In today's era, WeChat social software has long become an indispensable communication channel in the normal life of ordinary people. The subscription number service function of WeChat social software is to ensure communication between self-media and WeChat social software users. The basic guarantee and important channel for interaction. Companies and enterprises can use copywriting, images, messages, audio and video and other information in WeChat social circles to communicate with potential users in a certain circle to a greater extent, resulting in a more fashionable and popular online store A sales model that is interconnected with offline physical stores. This article describes a method that may be able to deal with issues related to the research and development of the WeChat social software communication platform's public account capabilities and a method that may realize some functions. On the other hand, this article also puts forward some suggestions and opinions on the changes of the function list.
The above is the development and technology of the media WeChat official account introduced to you by Shenzhen Zuchuang Microelectronics Co., Ltd. If you have software and hardware function development needs for smart electronic products, you can rest assured to entrust them to us. We have rich experience in customized development of electronic products, and can evaluate the development cycle and IC price as soon as possible, and can also calculate PCBA quotations. We are a number of chip agents at home and abroad, including MCU, voice IC, Bluetooth IC and modules, wifi modules. We have hardware design and software development capabilities. Covering circuit design, PCB design, single-chip microcomputer development, software custom development, APP custom development, WeChat official account development, voice recognition technology, Bluetooth wifi development, etc. It can also undertake the research and development of smart electronic products, the design of household appliances, the development of beauty equipment, the development of Internet of Things applications, the design of smart home solutions, the development of TWS solutions, the development of Bluetooth audio, the development of children's toys, and the development of electronic education products.
- TOP