Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for networking and electronic equipment

A technology of electronic equipment and networking method, which is applied in the electronic field, can solve the problem of unreliable access to the network by application programs, and achieve the effect of reliable networking and verification process security

Active Publication Date: 2018-07-06
LENOVO (BEIJING) LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, there is a technical problem that the access network method of the application program installed in the electronic device is unreliable

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for networking and electronic equipment
  • A method for networking and electronic equipment
  • A method for networking and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066]The electronic device is a laptop computer. After the user logs into the operating system as an administrator, the user inserts the dongle with the preset authentication information into the laptop through the USB interface. At this time, the user clicks to open the newly installed browser. Browser, at this time, the browser does not set the home page, then, the user enters the URL to be accessed in the address bar, and clicks "Enter". At this time, the browser calls the socket function and assigns the IP address of the machine to the browser , and the first port information, that is, port number 1100. Afterwards, the electronic device will pop up a confirmation interface, asking the user whether to allow the browser to access the network. To access the network, the user clicks "Allow", at this time, the electronic device adds the port number 1100 to the database in the dongle, which becomes the default authentication information. When the user logs in to the operating...

Embodiment 2

[0068] The electronic device is a smartphone. After the mobile network operator modifies the database stored in the SIM card, the user clicks to open the newly installed online music player, and selects the track to play, and then clicks the "play" button. At this time, the online music player Call the socket function to assign the local IP address and the first port information, namely port number 4060, to the online music player. After that, the electronic device will detect the current networking mode of the electronic device, whether it is connected to the network through a WIFI network card or a 3G network card. Assume that at this time, the electronic device is connected to the network through WI-FI. Next, call the connect function and pass the connect function , comparing the first port information with the preset port information in the database of the SIM card. Since an application program corresponds to a port number, and the operator has added the port number 4060 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a networking method and electronic equipment. The method is applied to an electronic device, and the electronic device includes an application programming interface including preset verification information, wherein the application programming interface is used to connect to a network, and the method includes: obtaining the first authentication information from the electronic device A networking request information sent by an application, wherein the networking request information includes information to be verified; based on the networking request information, calling the application programming interface; through the application programming interface, based on the preset The verification information is used to verify the information to be verified to obtain a verification result; when the verification result indicates that the verification is passed, based on the networking request information, control the first application program to access the network through the application programming interface.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a networking method and electronic equipment. Background technique [0002] With the development of science and technology, more and more electronic devices have the function of surfing the Internet, and more and more applications installed on electronic devices need to connect to the network to load data, so that if malicious programs automatically request to connect to the Internet, due to There is no interception setting in the operating system, so malicious programs can successfully access the network, making electronic devices have certain risks. [0003] At present, for application networking control, firewalls are mostly used to detect the IP addresses in the operating system data packets. According to the preset rules, the data packets that are not allowed to be sent or unsafe data packets are discarded, and the data packets that are allowed to be sent are sent out. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06
Inventor 程涛
Owner LENOVO (BEIJING) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products