Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a schematic diagram illustrating interaction between a web device 200 and aserver 100 according to an embodiment of the present invention. Theserver 100 is in communication connection with one or more internet access devices 200 through a network 300 for data communication or interaction. Theserver 100 may be a web server, a database server, or the like. The internet access device 200 may be a portable mifi (mobile wifi) device.
Fig. 2 is a block diagram of theserver 100. Theserver 100 includes: the internet access device comprises an internet access device information writing device, amemory 110, astorage controller 120, aprocessor 130, aperipheral interface 140, an input/output unit 150, anaudio unit 160 and adisplay unit 170.
Thememory 110, thememory controller 120, theprocessor 130, theperipheral interface 140, the input/output unit 150, theaudio unit 160, and thedisplay unit 170 are electrically connected to each other directly or indirectly, so as to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The internet access device information writing means includes at least one software function module which can be stored in thememory 110 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the client device. Theprocessor 130 is configured to execute an executable module stored in thememory 110, such as a software functional module or a computer program included in the internet access device information writing apparatus.
TheMemory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. Thememory 110 is configured to store a program, and theprocessor 130 executes the program after receiving an execution instruction, and the method executed by theserver 100 defined by the process disclosed in any of the foregoing embodiments of the present invention may be applied to theprocessor 130, or implemented by theprocessor 130.
Theprocessor 130 may be an integrated circuit chip having signal processing capabilities. TheProcessor 130 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Theperipheral interface 140 couples various input/output devices to theprocessor 130 and to thememory 110. In some embodiments,peripheral interface 140,processor 130, andmemory controller 120 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The input andoutput unit 150 is used for providing input data to the user to realize the user interaction with theuser terminal 100. The input/output unit 150 may be, but is not limited to, a mouse, a keyboard, and the like.
Audio unit 160 provides an audio interface to a user that may include one or more microphones, one or more speakers, and audio circuitry.
Thedisplay unit 170 provides an interactive interface (e.g., a user operation interface) between theuser terminal 100 and the user or is used to display image data to the user reference. In this embodiment, thedisplay unit 170 may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations from one or more locations on the touch display at the same time, and the sensed touch operations are sent to theprocessor 130 for calculation and processing.
First embodiment
Referring to fig. 3, fig. 3 is a flowchart of a method for writing information into an internet access device according to a first embodiment of the present invention, where the method is applied to a server. The flow shown in fig. 3 will be described in detail below, and the method includes:
step S110: the server acquires internet package tariff information selected by the user.
When ordering, a user can input internet package tariff information corresponding to a travel of the user, and the internet package tariff information may include: countries that need to be reached, time needed to be used, etc.
The server can acquire the price information of the internet package based on the ordering information of the user.
Step S120: and acquiring the unique identification information prestored by the internet equipment.
After the user places an order and pays successfully, the mobile terminal bound with the user can acquire the goods taking code, and the user can take goods (internet access equipment) from the automatic selling equipment based on the goods taking code. Because the vending equipment stores a plurality of internet access devices and randomly allocates one of the internet access devices to the user according to the goods taking code, as an implementation mode, the user can input the unique identity information pre-stored on the internet access device and send the identity information to the server, so that the server can acquire the unique identity information pre-stored on the internet access device. Certainly, the user can also obtain the unique identity information prestored by the internet access device by scanning the two-dimensional code on the internet access device.
Step S130: and binding the internet package tariff information with the identity identification information.
The internet access device can be preset with a basic number and a local number, and the identity information can be respectively associated with the basic number and the local number.
The basic number (Roaming number) is abbreviated as R number and is used as a global Roaming main number for keeping connection with a background system, and the method is characterized by low flow, wide coverage and stable connection. The Local number (Local number) is called L number for short, and is a number belonging to operators in different countries/regions, and is provided for users to use after arriving at a destination after leaving the country, and stable 3G/4G network data service is required.
Further, the server may look up the base number and the local number associated with the identification information; and when the basic number and the local number are judged to be in effective states, the internet surfing package tariff information is bound with the basic number and the local number, otherwise, feedback information is generated and sent to a user terminal bound with a user, and the fact that the internet surfing equipment has faults and can not be normally used is represented.
Step S140: and when a downloading request command of the internet access equipment is acquired, sending the internet surfing package tariff information to the internet access equipment corresponding to the identity identification information.
The server acquires a downloading request command sent by the basic number when the internet access equipment is started; and sending the internet surfing package tariff information to a local number of the internet surfing equipment corresponding to the identity identification information.
As an embodiment, please refer to fig. 4, the method may further include:
step S150: and the server receives first feedback information of successful downloading sent by the internet access equipment.
Step S160: and sending a network switching instruction to the internet access equipment.
After receiving the first feedback information representing successful downloading, the server can switch the network of the internet access device from the basic number to the local number of the target country of the user.
Step S170: and receiving second feedback information sent by the internet access equipment based on the switched network.
In the method for writing information into an internet access device according to the first embodiment of the present invention, a server obtains internet package tariff information selected by a user and unique identification information pre-stored by an internet access device, binds the internet package tariff information with the identification information, and sends the internet package tariff information to the internet access device corresponding to the identification information when a download request command of the internet access device is detected. The method can write the information into the internet equipment without excessive operation of the user, is convenient and quick, and improves the use experience of the user.
Second embodiment
Referring to fig. 5, fig. 5 is a block diagram illustrating a structure of an internet access deviceinformation writing apparatus 400 according to a second embodiment of the present invention. The block diagram of fig. 5 will be explained, and the apparatus shown comprises:
a first obtainingmodule 410, configured to obtain internet package tariff information selected by a user;
a second obtainingmodule 420, configured to obtain unique identity information pre-stored by the internet access device;
abinding module 430, configured to bind the internet package tariff information with the identity information;
the sendingmodule 440 is configured to send the price information of the internet package to the internet device corresponding to the identity information when the download request command of the internet device is obtained.
Further, the first obtainingmodule 410 is configured to obtain the price information of the internet package based on the order placing information of the user.
The internet access device comprises a basic number and a local number, the identification information is respectively associated with the basic number and the local number, and the sendingmodule 440 is configured to send the internet surfing package tariff information to the local number of the internet access device corresponding to the identification information when a download request command sent by the basic number when the internet access device is started is obtained.
Referring to fig. 6, the apparatus may further include:
areceiving module 450, configured to receive first feedback information indicating that downloading is successful, where the first feedback information is sent by the internet access device;
the sendingmodule 440 is further configured to send a network switching instruction to the internet access device;
the receivingmodule 450 is further configured to receive second feedback information sent by the internet access device based on the switched network.
In this embodiment, please refer to the contents described in the embodiments shown in fig. 1 to fig. 6 for the process of implementing each function of each function module of theapparatus 400 for writing information to the internet access device, which is not described herein again.
In summary, according to the method and the device for writing information into the internet access device provided by the embodiments of the present invention, the server obtains the price information of the internet package selected by the user and the unique identification information pre-stored by the internet access device, binds the price information of the internet package with the identification information, and sends the price information of the internet package to the internet access device corresponding to the identification information when a download request command of the internet access device is detected. The method can write the information into the internet equipment without excessive operation of the user, is convenient and quick, and improves the use experience of the user.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.