How to implement remote development and debugging of WeChat official account/small program? Publish the local server application to the external network

WeChat APP has become an indispensable social tool in the daily life and work of contemporary people . Because of its huge flow advantage , many enterprises and merchants who want to enter online sales are very popular .

So, how does WeChat bring social traffic to enterprises ? Using WeChat official account or small program to carry out self-media activities can display the merchant’s micro-official website, micro-activity, micro-payment, etc. through secondary development, which can not only enhance the company’s popularity, establish a brand image, but also maintain close contact with customers and maintain customer relationships . , and form an online and offline interactive marketing method to build a rich business ecosystem.


How to build the relevant server environment ?
In the actual development process, whether it is an official account or a small program, to carry out personalized marketing activities, developers need to build a relevant server environment and implement it through the interface calls opened to external systems by the WeChatplatform. Among them, the most critical point is the communication between the WeChat platform and the local server built by the developer.
Normally, the WeChat platform invokes locally built services through the provided server address URL. Developers need to apply for a URL for the local server first, so that external users can access related locally built services through this URL, that is, That is, it is necessaryto publish the locally built service to the public networkso that everyone can access it.

In the process of debugging and publishing, there are two necessary conditions . One is to have a registered domain name , but the domain name registration requires a fixed public network IP, but the price is high and the cost is high ; the second is that the small program debugging address must be HTTPS encrypted .

2. Fast resolution NAT-DDNS solution
Aiming at the aboveproblems, domestic remote connection dynamic domain name resolution and intranet penetration brandfast resolutionthis problemin a simple, efficient and low-cost wayEnterprises no longer need to spend high costs to obtain fixed public network IPs, and do not need broadband to allocate real dynamic public network IPs. They can publish applications built on local servers to the external network in three simple steps. 1.The developer first configures relevant services on the local serverto ensurethat they can be viewed normally in the local LAN;2.Register and log in toQuick Resolutionclient to add mappings, and fill in the correct IP address and port number of the server where the corresponding service is deployed.Quick Resolutionwill Automatically generate the external network access URL address of the service;



 

3. Fill in the URL address into the interface URL corresponding to the WeChat official account.
Then, you can carry out remote debugging, and release after confirming that it is correct. External network users can view related services anytime, anywhere by following WeChat official accounts or small programs, and interact with enterprises and merchants in real time.
As one of the earliest NAT-DDNS service providers in China, Kuaiyan has solved the problem of long-distance communication between internal and external networks for generations of Internet users with its profound technical accumulation and safe and stable services. Compared with other solutions, Quick Analysis has the following obvious advantages:

1. Rapid deployment, easy to use
and fast analysiswithout changing the original IT structure of the enterprise, quickly establish a connection with the intranet server through the cloud server, and realize various intranet services such as OA, ERP, CRM, NAS, and database in three simple steps , video surveillance and other external network remote access.

2. Safe and stable,
fully funded to protect privacy. P2P technology is used to directly penetrate NAT without port mapping,so that LAN data can be accessed on the external network, with faster and more stable access speed;the HTTPS protocol is constructed by the SSL+HTTP protocol, which can Encrypted transmission to ensure the security of data transmission.

3. Intelligent analysis

Quick Resolution can intelligently return and resolve addresses according to the geographical location of visitors , supports cross-border lines, and can customize intelligent line analysis ; adopts multi-line computer rooms, and selects the fastest line for users through BGP automatic routing analysis ; at the same time, access is realized through CDN technology Acceleration to provide users with a better analysis experience

4. Multi-scenario application

Provide fast, stable and secure terminal resolution services based on DoH (DNS over HTTPS) and DoT (DNS over TLS) for terminal devices such as mobile terminals, APPs, and IoT devices .

Guess you like

Origin blog.csdn.net/asdaddsd/article/details/130395744
Recommended